1.it sort need of data structure as variables can store only one type for data
2.arrays
3.charachteristics of the values.
4.Null and undefined
5.Properties in a value can be accessed using a dot and the literal name of the property. e.g. array.length
Properties can also be accessed using square brackets, with the expression between the brackets being evaluated to get the property name. e.g. array[“length”]
6.properties that hold function values.
7.Objects are data structures that are capable of containing an arbitrary collection of properties. These are created using braces to contain a list key/value pairs separated by a comma.
8.ability to hold as many different datatypes as we need.
9.Objects are defined as any other variable, with the value being a list contained within braces.
10.The mutability of Javascript objects means that the values they contained can be changed. This is different to other datatypes such as strings or booleans or numbers , which will always keep the same value it was defined with.
part II.:
- string is a primitive not an object therefore immutable
2.These are denoted by a function’s last parameter with 3 dots before its name and are useful for functions that accept any number of arguments. When the function is called, the rest parameter is bound to an array containing all further arguments.
3.CONVERTING DATA THAT ARE STORED IN MEMORY INTO FLAT DECRIPTION OF WHAT THOSE DATA IS.
4.JSOn is serialization format thats is widely used for data storage and communication .
5.These are denoted by a function’s last parameter with 3 dots before its name and are useful for functions that accept any number of arguments. When the function is called, the rest parameter is bound to an array containing all further arguments.