Object and its internal representation in javascriptObjects in JavaScript are very much similar to the objects in real-life. We can see a lot of Objects around us in this real world, each…Nov 4, 2020Nov 4, 2020
Why there is a difference in behavior for copying contents in primitive and non primitive type?JavaScript has 6 primitive data types: String, Number, Boolean, Null, Undefined, Symbol (new in ES6). A variable can hold one of two value…Nov 4, 2020Nov 4, 2020
Copy by value for a Composite Data type in JavaScriptCOPY BY VALUE FOR COMPOSITE DATATYPES CAN BE PERFORMED WITH THE HELP OF SPREAD OPERATOR.[…].Nov 3, 2020Nov 3, 2020