-
-
Notifications
You must be signed in to change notification settings - Fork 157
javascript docs addded #352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@ajay-dhangar |
Here's the code health analysis summary for commits Analysis Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change code based on suggestions
@@ -0,0 +1,281 @@ | |||
--- | |||
id: Object Constructor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad practice:
id: Object Constructor
Good Practice:
id: 0bject-constructor
this.gg = C; | ||
} | ||
``` | ||
Here, `GFG` is the constructor name and `A`, `B`, `C` are the arguments of the constructor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please modify the example so that it does not use any content from the existing site. We need to create something unique for our use.
#### Example 1: Using `new` Keyword and Dot Operator | ||
|
||
```javascript | ||
// Creating object using "new" keyword |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also, change it
Author: GeeksforGeeks | ||
``` | ||
|
||
#### Example 2: Using Curly Braces and Bracket Notation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
put for us not use GFG we can use reference but not use content of other site.
|
@ajay-dhangar i have changed al the examples which i have taken from gfg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, Done
Related Issue
Fixes #339
Description
As per i said in my issue i have added 5 sections
beacuse of conditional statement was already implemented i have added 2 other sections
sections
Type of PR
Screenshots / Videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist
Additional Context
tried to maintain code quality
Resources for Guidance
Here are some resources that may be helpful as you contribute to CodeHarborHub:
Resources for DSA Features on Our Site: