javascript - When an object gets stored in memory, does the value only get stored or does it get stored as an object? -


when value gets stored in memory, understand value gets stored in memory when comes objects, how stored in memory?

the following gives idea on how objects stored in memory:

most objects contain properties in single block of memory ("a", , "b"). blocks of memory have pointer map, describes structure. named properties don't fit in object stored in overflow array ("c", , "d"). numbered properties stored separately, in contiguous array.

for more read here.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -