https://github.com/tanveerisonline/javascript
https://github.com/tanveerisonline/javascript
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tanveerisonline/javascript
- Owner: tanveerisonline
- Created: 2023-09-25T10:50:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-10T09:39:43.000Z (over 1 year ago)
- Last Synced: 2025-01-21T04:32:07.297Z (4 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
"# Important topics in JavaScript"
// The new keyword is used to create an instance of an object.
// In JavaScript, functions are objects.
// The this keyword refers to the object it belongs to.
// JavaScript prototypes are used for inheritance.
// The constructor property returns the constructor function for an object.
// A prototype is an object "behind" an object.
// The prototype property allows you to add new properties and methods to existing object types.
// JavaScript objects inherit the properties and methods from their prototype.
// The Object.create() method creates a new object, using an existing object as the prototype of the newly created object.
// The instanceof operator returns true if an object is created by a given constructor.
// The JavaScript prototype chain is used to build new types of objects based on existing ones.
// JavaScript classes are templates for JavaScript objects.
// JavaScript classes are not hoisted.
// JavaScript classes are executed in strict mode.
// JavaScript classes are functions.
// JavaScript classes use prototype inheritance.
// JavaScript class methods are not enumerable.
// JavaScript class methods are not writable.