- There are too many changing values in this text for using strings or integers
- It is called an array and is written as a list of values between square
brackets, separated by commas - Properties are the values associated with a JavaScript object . A JavaScript object is a collection of unordered properties.
- Null and undefined
- With a dot OR with square brackets
- JavaScript methods are actions that can be performed on objects.
- Almost “everything” is an object. Booleans can be objects (if defined with the new keyword) Numbers can be objects (if defined with the new keyword) Strings can be objects (if defined with the new keyword) Dates are always objects. Maths are always objects. Regular expressions are always objects.
- You can store different values in one object
- by using braces as an expression
- Mutable object is an object whose state can be modified after it is created.
Immutables are the objects whose state cannot be changed once the object is created.
SECOND PART / Strings and their propertiees
- Because strings and numbers are Immutable
- Rest parameters are used to create functions that accept any number of arguments
- The process whereby an object or data structure is translated into a format suitable for transferral over a network, or storage (e.g. in an array buffer or file format). In JavaScript , for example, you can serialize an object to a JSON string by calling the function JSON. stringify()
- JSON - JavaScriptt Object Notation… Is a format for storing and transporting data. JSON is often used when data is sent from a server to a web page.
- JSON is detailed as a lightweight data-interchange format. JSON looks similar to JavaScript’s way of writing arrays and objects, with afew restrictions.