JavaScript objects are also datatypes. Just like int, string but the difference here is objects can contain properties and variables both. Properties can be of JSON data type or in the form of key-value pairs. Objects are stored in the heap memory compared to other data types which are stored in stack memory
JavaScript objects are also datatypes. Just like int, string but the difference here is objects can contain properties and variables both. Properties can be of JSON data type or in the form of key-value pairs. Objects are stored in the heap memory compared to other data types which are stored in stack memory
Comments
Post a Comment