filmov
tv
Advanced JavaScript Tutorial in Hindi #5: Reference Data Type vs Primitive Type in JavaScript

Показать описание
Welcome, all we will see Advanced JavaScript in Hindi. Reference Type in JavaScript. A variable can hold one of two value types: primitive values or reference values.
Primitive values are data that are stored on the stack.
Primitive value is stored directly in the location that the variable accesses.
Reference values are objects that are stored in the heap.
Reference value stored in the variable location is a pointer to a location in memory where the object is stored.
Primitive types include Undefined, Null, Boolean, Number, or String.
The Basics:
Objects are aggregations of properties. A property can reference an object or a primitive. Primitives are values, they have no properties.
Updated:
JavaScript has 6 primitive data types: String, Number, Boolean, Null, Undefined, Symbol (new in ES6). With the exception of null and undefined, all primitives values have object equivalents which wrap around the primitive values, e.g. a String object wraps around a string primitive. All primitives are immutable.
Primitive values are data that are stored on the stack.
Primitive value is stored directly in the location that the variable accesses.
Reference values are objects that are stored in the heap.
Reference value stored in the variable location is a pointer to a location in memory where the object is stored.
Primitive types include Undefined, Null, Boolean, Number, or String.
The Basics:
Objects are aggregations of properties. A property can reference an object or a primitive. Primitives are values, they have no properties.
Updated:
JavaScript has 6 primitive data types: String, Number, Boolean, Null, Undefined, Symbol (new in ES6). With the exception of null and undefined, all primitives values have object equivalents which wrap around the primitive values, e.g. a String object wraps around a string primitive. All primitives are immutable.
JavaScript Advanced full Course Tutorial🔥15+ Projects + Free Notes
Advanced JavaScript Tutorial in Hindi [Part 94] - JavaScript Callback Function
Advance JavaScript - Promise Tutorial in Hindi / Urdu
JavaScript Tutorial In Hindi
Advance Javascript - Modules Tutorial in Hindi / Urdu
JavaScript Complete Tutorial in Hindi 🚀 Free Notes + Codes
Advance JavaScript - Async & Await Tutorial in Hindi / Urdu
Advance JavaScript - Ajax Tutorial in Hindi / Urdu
Advance Javascript - OOP Introduction Tutorial in Hindi / Urdu
JavaScript Tutorial for Beginners | Full Course to Learn What is JavaScript in Hindi
Advance JavaScript - Arrow Functions Tutorial in Hindi / Urdu
JavaScript | Beginning to Mastery Complete Tutorial (Part 1)
Advanced JavaScript Tutorial in Hindi [Part 78] - What is ES6
Advanced JavaScript Tutorial in Hindi [Part 91] - Prototype and Prototypal Inheritance in JavaScript
Advance JavaScript - Spread Operator Tutorial in Hindi / Urdu
Advance Javascript - Class Inheritance Tutorial in Hindi / Urdu
Advance JavaScript - Destructuring Array Tutorial in Hindi / Urdu
Advanced JavaScript Tutorial in Hindi [Part 97] - JavaScript Cookies (Create, Read and Delete)
Advanced JavaScript Tutorial in Hindi [Part 87] - Modules in ES6 (JavaScript)
Advanced JavaScript Tutorial in Hindi [Part 92] - ES6 Class, Object and Inheritance in JavaScript
Advanced JavaScript Tutorial in Hindi [Part 88] - Object Oriented Programming in ES6 (JavaScript)
JavaScript Tutorial for Beginners | JavaScript Full Course | Complete Java Script in One Shot
Map, Filter & Reduce in JavaScript | JavaScript Tutorial in Hindi #20
Advance JavaScript - Fetch API Tutorial in Hindi / Urdu
Комментарии