filmov
tv
JavaScript Objects | Objects in JavaScript - JavaScript Tutorial 69

Показать описание
Notes for You:: JavaScript objects
-JavaScript objects help us to represent real world objects as the software (web) world objects.
W.K.T. To solve any real world problem with the help of software, we must represent real world objects present in that problem as the software (web) world objects. And that we do with the help of JavaScript Objects.
W.K.T. JavaScript is an object based or prototype based language.
I.e. in JavaScript objects are created with the help of prototypes.
Prototype:
- Prototype is an object, which contains common functionalities that a JavaScript object inherits. I.e. When a JavaScript object is created; it inherits the common functionalities present inside a prototype object from which it is built.
JavaScript object:
- Any JavaScript object is a collection of properties and has a prototype.
Property:
- Property is a key value pair,
where :
key is the name of the property and
value is the value of the property and it can be a data, an object or a function
Data property: attribute
- If a property’s value is a data, or an object then it is called as a data property.
- It represents attribute of an object.
Function property: behavior
- If a property’s value is a function then it is called as a function property or method.
- It represents behavior of an object.
Note:
a) JavaScript object is a collection of properties.
b) Every JavaScript object is associated with a prototype from which it is built.
c) All JavaScript objects inherit their common functionalities from their prototype.
d) JavaScript objects are dynamic i.e. we can add properties to an object OR delete properties from an object at run time.
e) JavaScript object is an associative array like data structure.
=========================================
Follow the link for next video:
JavaScript Tutorial 70 - Types of Objects in JavaScript
Follow the link for previous video:
JavaScript Tutorial 68 - What are Objects in General ?
=========================================
JavaScript Tutorials Playlist:-
=========================================
Watch My Other Useful Tutorials:-
jQuery Tutorials Playlist:-
jQuery UI Tutorials Playlist:-
Bootstrap Tutorials Playlist:-
=========================================
► Subscribe to our YouTube channel:
► Visit our Website:
=========================================
Hash Tags:-
#ChidresTechTutorials #JavaScript #JavaScriptTutorial
-JavaScript objects help us to represent real world objects as the software (web) world objects.
W.K.T. To solve any real world problem with the help of software, we must represent real world objects present in that problem as the software (web) world objects. And that we do with the help of JavaScript Objects.
W.K.T. JavaScript is an object based or prototype based language.
I.e. in JavaScript objects are created with the help of prototypes.
Prototype:
- Prototype is an object, which contains common functionalities that a JavaScript object inherits. I.e. When a JavaScript object is created; it inherits the common functionalities present inside a prototype object from which it is built.
JavaScript object:
- Any JavaScript object is a collection of properties and has a prototype.
Property:
- Property is a key value pair,
where :
key is the name of the property and
value is the value of the property and it can be a data, an object or a function
Data property: attribute
- If a property’s value is a data, or an object then it is called as a data property.
- It represents attribute of an object.
Function property: behavior
- If a property’s value is a function then it is called as a function property or method.
- It represents behavior of an object.
Note:
a) JavaScript object is a collection of properties.
b) Every JavaScript object is associated with a prototype from which it is built.
c) All JavaScript objects inherit their common functionalities from their prototype.
d) JavaScript objects are dynamic i.e. we can add properties to an object OR delete properties from an object at run time.
e) JavaScript object is an associative array like data structure.
=========================================
Follow the link for next video:
JavaScript Tutorial 70 - Types of Objects in JavaScript
Follow the link for previous video:
JavaScript Tutorial 68 - What are Objects in General ?
=========================================
JavaScript Tutorials Playlist:-
=========================================
Watch My Other Useful Tutorials:-
jQuery Tutorials Playlist:-
jQuery UI Tutorials Playlist:-
Bootstrap Tutorials Playlist:-
=========================================
► Subscribe to our YouTube channel:
► Visit our Website:
=========================================
Hash Tags:-
#ChidresTechTutorials #JavaScript #JavaScriptTutorial
Комментарии