Data Structures (Arrays and Objects) - Reading Assignment

  1. if we only used strings and integers, we would only be able to hold one piece of data per number. we need to have a more practical approach, having groups of integers and string, or being able to separate days.

2.an array is the perfect example of putting strings or integers in a group. this lets us group together many variables and lets us title that group.

3 properties are the descriptions of a value, for instance, an array can be 3 strings long and this is one of their properties

4 null and undefined

5 value.i and value[i]

6 properties that contain values

7 objects are like descriptions to a keyword

8 you can have a boolean, delete existing values, and add objects

9 let descriptions = { work: "Went to work", "touched tree": "Touched a tree" };

10 i think the mutibilty is good since you can delete ones you dont want with a line of command



1 strings are immutible

2 they are methods that can take multiple inputs

3 it is where you serialize data and make it a flat description, used for storing data

4 a method of serialization

5 you need to use double quotes, you cant used comments, and no funtion calls n

1 Like
  1. Need to be able to test variables.

  2. Data sets or Arrays

  3. More detailed information about a variable.

  4. Undefined; Null

  5. With a dot or square brackets.

  6. Properties that contain functions.

  7. Arbitrary collections of properties.

  8. Let’s us add more details to values.

  9. =

  10. Numbers, strings, and Booleans, are all immutable

  11. Javascript won’t let you. I don’t know.

  12. They let a function accept any number of arguments.

  13. To be more succinct.

  14. Javascript Object Notation

  15. No comments are allowed.

1 Like

Part 1 of 2:

  1. What problems does this chapter introduce that cannot be solved with variable types such as strings or integers?

How to store multiple values and value types into one single variable.

  1. What variable type can be used in order to solve the problem of storing multiple values?

Arrays

  1. What are properties in Javascript?

Values inside of an object.

  1. Which values do not have properties?

null and undefined

  1. How can we access properties in a value (two ways)?

Using a dot notation and with square bracket notation.

  1. What are methods?

Properties that contain functions.

  1. What are objects?

Objects are data sets that contains collection of properties.

  1. What problem do objects solve that cannot be solved with other value types we’ve learned so far (such as integer, string, array, boolean etc)?

Objects can store values of any type and multiple types at once.

  1. How do you define an object?

Objects are arbitrary collections of properties.

  1. What can you say about the mutability of Javascript objects?

Object properties are mutable.

Part 2 of 2:

  1. Why can’t you add new properties to a string variable?

Because strings are immutable.

  1. What are rest parameters?

Rest parameters are functions which can accept any number of arguments.

  1. What is serialization and what is a use case of serialization of data?

Is the process of translating a data structure state into a format that can be stored (for example, in a file or memory data buffer or transmitted (for example, over a computer network and reconstructed later (possibly in a different computer environment).

  1. What is JSON?

JSON stands for JavaScript Object Notation and is a popular serialisation format used for data storage and communication on the web.

  1. What are the differences between JSON and the way programmers write objects in plain Javascript?

All property names have to be surrounded by double quotes, and only simple data expressions are allowed—no function calls, bindings, or anything that involves actual computation. Another difference: Comments are not allowed.

1 Like

What problems does this chapter introduce that cannot be solved with variable types such as strings or integers?
-Another variable type is required to store a list of values, and values of different data types (a more complicated data structure is required).

What variable type can be used in order to solve the problem of storing multiple values?
-Arrays can be used to store multiple values

What are properties in Javascript?
-they describe or define characteristics of values or data in the data structure

Which values do not have properties?
-Null and undefined

How can we access properties in a value (two ways)?
-1) use the dot operator and 2) or use properties in square brackets

What are methods?
-properties that contain functions

What are objects?
-are containers or variables that can hold many different data types

What problem do objects solve that cannot be solved with other value types we’ve learned so far (such as integer, string, array, boolean etc)?
-Objects can hold as much datatypes as we required to store and process, in a sense it is limitless

How do you define an object?
-like you define any other variable by using braces

What can you say about the mutability of Javascript objects?
-some variables are immutable in JS (strings, numbers, booleans) so they can not be changed after they have been defined. Objects are mutable so the values they contain in the data structure can be changed

NEXT SET OF QUESTIONS

Why can’t you add new properties to a string variable?
-they are immutable and can not be changed after they have been defined

What are rest parameters?
-Rest parameters accept any number of arguments.

What is serialisation and what is a use case of serialisation of data?
-Serialization converts data into a flat description of itself. This allows us to use JSON notation to convert data between data types, from string to the value it holds and vice versa.

What is JSON?
-JavaScript Object Notation is a notation for data storage and communication.

What are the differences between JSON and the way programmers write objects in plain Javascript?
-Properties should also be written inside double quotes. JSON only allow simple values expression like strings, numbers, arrays and booleans. “So no function calls, bindings, or anything that involves actual computation.”

1 Like

Read the sub-chapter called The weresquirrel. What problems does this chapter introduce
that cannot be solved with variable types such as strings or integers?

He thought that him changing was being triggered by something

What variable type can be used in order to solve the problem of storing multiple values?

arrays

What are properties in Javascript?

stored information

Which values do not have properties?

null and
undefined

How can we access properties in a value (two ways)?

with a dot and with
square brackets.

What are methods?

number of properties that hold function values.

What are objects?

a combination of data and procedures

What problem do objects solve that cannot be solved with other value types we’ve
learned so far (such as integer, string, array, boolean etc)?

they are able to hold many diffferent datatypes

to group these together into a single value and then put those grouped values into
an array of log entries.

How do you define an object?

they are defined by the value in the braces

What can you say about the mutability of Javascript objects?
the values contained can be changed. Strings will always keep the same value it was defined with./

1 Like
  1. Read the sub-chapter called The weresquirrel. What problems does this chapter introduce that cannot be solved with variable types such as strings or integers?
    Objects and arrays.
  2. What variable type can be used in order to solve the problem of storing multiple values?
    Array
  3. What are properties in Javascript?
    properties in JS are expressions that access a property of some value.
    For example: value.length
    Length is the property of the value.
  4. Which values do not have properties?
    Null and undefined.
  5. How can we access properties in a value (two ways)?
  • With a dot.
  • With square Brackets[ ]
  1. What are methods?
    Properties that contain functions are generally called methods of the value
    they belong to, as in “toUpperCase is a method of a string”.

  2. What are objects?
    Values of the type object are arbitrary collections of properties.

  3. What problem do objects solve that cannot be solved with other value types we’ve learned so far (such as integer, string, array, boolean etc)?
    we can give all kinds of properties to a variable.

  4. How do you define an object?
    We create an object by using braces as an expression.
    Inside the braces, there is a list of properties separated by commas. Each
    property has a name followed by a colon and a value.
    var object1 = {property1: false, left: 1, right: 2};

  5. What can you say about the mutability of Javascript objects?

Numbers, strings, and Booleans, are all immutable.
It is impossible to change values of those types. You can combine them and derive
new values from them, but when you take a specific string value, that value
will always remain the same. The text inside it cannot be changed.

Objects work differently. You can change their properties, causing a single
object value to have different content at different times.

  1. Why can’t you add new properties to a string variable?
    such values are immutable and cannot be changed.

  2. What are rest parameters?
    to call a function with an array of arguments.
    the rest parameter is bound to an array containing all further arguments.

  3. (Feel free to skip the sub-chapter of Math object and Destructing)

  4. What is serialisation and what is a use case of serialisation of data?
    That means it is converted into a flat description. Used for data storage and communication format on the Web.

  5. What is JSON?
    A popular serialization format is called JSON

  6. What are the differences between JSON and the way programmers write objects in plain Javascript?
    In JSON All property names have to be surrounded by double quotes,
    and only simple data expressions are allowed—no function calls, bindings, or
    anything that involves actual computation. Comments are not allowed in
    JSON.

1 Like

1- Strings and integers will not be able to handle the complexity needed to solve this problem.

2- Arrays

3- By using an array we can store multiple values and call upon specific values when needed.

4- Properties are the values associated with a object.

5- Null and undefined

6- .[property] .property

7- Objects are data structures that are capable of containing an arbitrary collection of properties.

8- Objects are able to hold many different datatypes.

9- the same way with define classica variable + the value being a list contained within braces ex: let myObject = {value: 10, item= “example”}

10 - The mutability of Javascript objects means that the values they contained can be changed. This is different to other datatypes such as strings, which will always keep the same value it was defined with.


1 - Because they are not objects and due to immutability the console does not store nor change new properties.

2 - The rest parameter syntax allows a function to accept an indefinite number of arguments as an array

3 - 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).

4 - JSON is a popular serialisation format which stands for JavaScript Object Notation. It is a data storage mechanism and a communication format on the Web and in other languages aside from JavaScript.

5 - JSON is a condensed and succinct version of plain JavaScript, it follows many of the same formatting rules but comments are not allowed in JSON.

1 Like
  1. Read the sub-chapter called The weresquirrel. What problems does this chapter introduce that cannot be solved with variable types such as strings or integers?

The need for multiple values and datatypes.

  1. What variable type can be used in order to solve the problem of storing multiple values?

Arrays

  1. What are properties in Javascript?

Properties are values associated with a JavaScript object

  1. Which values do not have properties?

Null and undefined

  1. How can we access properties in a value (two ways)?

array. & array[ ]

  1. What are methods?

Methods are properties that hold function values

  1. What are objects?

Object are variables that contain many values

  1. What problem do objects solve that cannot be solved with other value types we’ve learned so far (such as integer, string, array, boolean etc)?

They hold different datatypes

  1. How do you define an object?

Object values are written as name : value pairs in square brackets [ ]

  1. What can you say about the mutability of Javascript objects?

Their values can be changed

SECOND PART:

  1. Why can’t you add new properties to a string variable?

Strings are primitive

  1. What are rest parameters?

Rest parameters use three dots before the functions last parameter. Allows the function to allow any number of arguments.

  1. What is serialisation and what is a use case of serialisation of data?

Conversion of data in a flat description for storage to tranfer

  1. What is JSON?

JavaScript Object Notation - a serialisation format used for data storage and communication

  1. What are the differences between JSON and the way programmers write objects in plain Javascript?

All property names have to be surrounded by double quotes and only simple data expressions are allowed. No function calls, bindings, or anything that involves actual computation. No comments.

1 Like
  1. To find the conditions he is transforming/ store multiple reasons together and save them.
  2. Arrays
  3. Properties are values associated with a JavaScript object. The length of a string is a property the age of a person as well. In fact every value has a property besides null an undefined.
  4. Null and undefined
  5. String.lenght or string[‚length‘] for example
  6. A method is a property containing a function definition
  7. An object is a bundle of informations or properties. You can have an address object which stores data of your name your street and zip code for example.
  8. We can build arrays and declare the values of it true
    or false for example
  9. You start building a variable example: var address
    than you write = followed by property declarations
    in: {} braces.
  10. You can change the properties of an object so you
    can change the object

PART2

  1. strings booleans and numbers are immutable
  2. One parameter for all arguments in that array.
  3. You convert your memory adresses to a description which can be stored or sent.
  4. JSON is one famous format for serialisation. It stands for JavaScript Object Notation
  5. You may only save data which doesn’t involves any computing like function calls or bindings. Objectnames have to be surrounded bei double quotes and comment are not allowed.
1 Like
  1. Jacque needed to log many variables to determine what was causing him to change into a squirrel. He needed an array to list multiple activities and he needed to be able to change the items within the array. Variables such as integers and strings cannot be changed.
  2. Arrays can be used to store multiple values.
  3. Properties retrieve data from code with a dot or square brackets. For example value.x or value[x]. the value .x will retrieve the literal name of the property and the value[x] evaluates te expression between the brackets.
  4. Undefined and null are the only values that do not have properties.
  5. we can access properties in value by using .x or [x].
  6. Methods are properties that contain functions, such as sequence.push, which adds a value to the end of an array
  7. Objects have values that are arbitrary collections of data
  8. Objects can hold many variables that are different. It can contain integers, strings and booleans all within the same bracket.
  9. an object is defined … let object1 = {value:25};
  10. Javascript objects are mutable, so they can be changed. Other variables like integers, strings and Booleans cannot be changed.
    SECOND PART

1.Because string variables are immutable.
2. Rest parameters are useful when accepting any number of arguments. It is written with three dots … before the final parameter. It is bound to an array containing all further arguments
3. Serialization is when the data is converted into a flat description. It is useful when storing or sending data
4. JavaScript Object Notation. It converts many memory addresses so the data can be stored or sent
5. JSON must use double quotes, Javascript can use either, but it can create an error if a programmer uses single quotes and a string contain a contraction. JSON will not allow for function calls, bindings or actual computation, and no comments are to be made.

1 Like
  1. Working with large sets of data

  2. Arrays

  3. A characteristic of an object

  4. Nonvalues such as null and undefined

  5. value.property or value[“property”]

  6. Properties that contain functions

  7. An arbitrary collection of properties

  8. Grouping together data of different value types

  9. Let anObject = {foo: 1, baz: 2};

  10. The contents of objects can be changed unless the object is declared with the const keyword, then its values can only be changed by being overwritten.

  11. Strings are not objects an non-object values are immutable

  12. Allows a function to accept an indefinite number of arguments as an array

  13. It is the conversion of data from computers memory to a flat description - used when sending a data structure to another computer

  14. JavaScript Object Notation - a standard for storing data structures on the web

  15. All property names must be surrounded by quotations, and only simple data expressions are allowed.

1 Like

Part 1

  1. Jacques needs to store a number of different types of values such as stings, integers and the boolean of whether or not he turned into a squirrel.

  2. Multiple values of different types can be stored on an array.

  3. A property is a characteristic of a given value such as the length of a string or the color of a car.

  4. null and undefined have no properties.

  5. Properties can be accessed with either a dot “value.x” or square brackets “value[x]”. When using the dot the word after the dot is the literal name of the property whereas when using square brackets the expression between the brackets is evaluated and uses the result, converted to a string as the property name.

  6. Methods are properties that contain functions within an object.

  7. Objects are arbitrary collections of properties.

  8. Objects allow you to store a variety of different types of data into a single value. They can also store properties and functions specific to those properties in one place.

9.You can create an object by using braces as an expression. Anything contained within the braces is part of the object.

10 Objects can be changed so that a single object can have different content at different times.

Second Part:

  1. Strings are immutable - their value will always be the same.

  2. Rest parameters

  3. Serialization converts a tangle of memory locations stored in a computer’s memory to a flat description (stream of bytes) that can more easily be stored and sent between computers. When the flat data is received by another computer it is deserialized so that the original data structure is recreated.

  4. JSON (JavaScript Object Notation) is a widely used format of serializing and communicating data on the web.

  5. JSON looks similar to JavaScript’s way of writing arrays and objects, with a
    few restrictions. All property names have to be surrounded by double quotes,
    and only simple data expressions are allowed—no function calls, bindings, or
    anything that involves actual computation. Comments are not allowed in
    JSON.

1 Like
  1. Variable types like strings and integers can only hold one value while arreys can hold multiple values and objects (also values) which can hold properties. This make it possible to organize complex data.

  2. Arreys can store multiple values.

  3. Properties define characteristics of values like the length.

  4. Null and undefined.

  5. Properties can be sccessed by using a dot ore with square brackers.

  6. properties that contain functions are called methods.

  7. Objects are values that contain arbitary sets of properties.

  8. Objects can hold multiple data types.

  9. Objects can be defined the same way as other values, but you need to use {} instead of () and define the properties of give a value to the propertie.

  10. Javascript objects are mutubail because the values in it can be changed, this isn’t the case at other values like strings.

  11. Values like a string are immutable because they aren’t objects.

  12. Rest parameters are bound to an arrey that contains all further arguments.

  13. Serialisation of data is converting a arrey (which is stored in the computer memory) into a flat discription.

  14. JSON means JavaScript Object Notation and is used for data storage and communication on the web.

  15. property names are surrounded by double quotes and no function calls, bindings or other forms of computation are allowed. Comments are also not allowed.

1 Like
  1. We need a data structure
  2. rest parameters is an array having flexible length
  3. Properties is a role of an object
    4.Null and undefined do not have properties.
  4. object.propertyname or object[“propertyname”]
  5. Methods are defined inside an object to read, get the value or change value of object
  6. Objects are consist of properties and methods.
  7. We can not compare the object
  8. objectname{
    property1: value1,
    property2: value2,
    …
    function methodname (parameters){
    …
    }
    }
  9. The mutability of Javascript objects means that the values they contained can be changed. This is different to other datatypes such as strings, which will always keep the same value it was defined with.
    SECOND PART:
  10. String is immutable
  11. Defined by three dots before, rest parameters symbolized a flexible array of parameters
  12. Convert data stored in memory into a flat description of what that data is. It is useful for when we want to do tings like saving the data to a file or transferring it to another computer on net work.
  13. JavaScript Object Notation is a serialization format widely used for data storage and communication.
  14. All property names need to be surrounded in double quotes and only simple data expressions are allowed. So no function calls, bindings, or anything that involves actual computation. Also, comments are not allowed in JSON.
1 Like
  1. In order to solve the problem you need data structures that are able to hold many different values.

  2. Arrays (which are special kinds of objects) and objects can store multiple values.

  3. Almost all values in JavaScript has a number of properties. For instance the length of a string in JavaScript is one of its properties. The name of the property is “length” and the value of the property is a number corresponding to its length.

  4. null and undefined.

  5. a) by adding a dot to the value: myValue.property. b) by adding [] to the value and inserting the property: myValue[property].

  6. Methods are properties of a value that contain functions.

  7. Objects are arbitrary collections of properties.

  8. Objects let us store complex data of several different instances of different value types in one entity.

  9. By assigning the contents of a pair of curly brackets to a binding. Inside the brackets there should be a list of properties separated by commas. Every property is given a name followed by a colon and a value.

  10. Unlike strings, numbers and booleans, an object can be changed. It is also important to realize that the content of an object is one thing, and the identity of an object is a different thing. Two different objects can have the exact same properties and values, but they are still different objets. If you compare them with == you will get false.


  1. It is an immutable, atomic value and it cannot be changed.

  2. It is a syntax that lets you write functions with an infinite number of arguments.

  3. void

  4. You convert your data structures to a flat representation that is independent of the computer’s RAM. This is done so that one can easily transfer data to another computer or store the data on a file.

  5. JSON is a widely used serialization format.

  6. In JSON all property names have to be surrounded by double quotes and only simple data expressions are allowed. No comments are allowed in JSON.

1 Like

First part:

  1. The problem introduced is that variables such as strings and integers are fixed, while this guy needs a journal that can handle a data set that can store multiple values that can change and be correlated.
  2. Arrays can store multiple values.
  3. Almost all JavaScript values have properties, including length etc, with only a few exceptions.
  4. Null and undefined are the exceptions.
  5. The dot and the square brackets.
  6. A method is a property that contains a function.
  7. Objects are values that are arbitrary collections of properties, using the brace brackets.
  8. Objects are mutable.
  9. An object is defined as a value with a set of arbitrary collection of properties.
  10. They allow the values to be changed, as opposed to immutable variables such as strings and integers.
    Second part:
  11. A string variable is immutable.
  12. A rest parameter consists of putting 3 dots before the function so that it spreads out the array or other object.
  13. Serializing data means converting it to a flat description. The use case is that the data can easily be shared as a JSON file.
  14. JSON stands for JavaScript Object Notification, which is widely used to store data and share it on the web.
  15. JSON looks similar to the JavaScript language except that properties must be in double quotes and only simple data expressions without any function calls, bindings, or computations.
1 Like
  1. often times one will need a data structure that can hold multiple values and/or data types. Arrays solve that problem as they can hold more than one value while a simple string or integer can not.

  2. An array can be used for many scenarios.

  3. A Property is a characteristic of an object, often describing attributes associated with a data structure.

  4. Null and Undefined.

  5. To access a property of a value you will use either a dot and then proceed with the property name or place the property name within square brackets.

  6. A method is a function within property of an object.

  7. Everything is an object in JavaScript, except primitive types. An object can have both state and behavior including properties and methods.

  8. Objects can hold multiple/different data types.

  9. let fruit = [“Apple”, “Banana”]

  10. Objects are not immutable.

Part two-

  1. Strings are a primitive type rather than an object, therefore are immutable.

  2. The rest parameter syntax allows a function to accept an indefinite number of arguments as an array.

  3. Serialization is the process where an object or data structure is translated into a format suitable for transferral over a network, or storage like a file format. For example, you can serialize an object to a JSON string by calling the function JSON.

  4. JavaScript Object Notation (JSON) is a standard text based format for representing structured data based on object syntax.

  5. Majority difference is that all names in JSON must be wrapped in double quotes and there can only be simple data expressions.

1 Like
  1. Read the sub-chapter called The weresquirrel. What problems does this chapter introduce that cannot be solved with variable types such as strings or integers?
  • s a data structure to store this information
  1. What variable type can be used in order to solve the problem of storing multiple values?
  • an array and is written as a list of values between square brackets, separated by commas
  1. What are properties in Javascript?
  • all JavaScript values have properties except null and
    undefined
  1. Which values do not have properties?
  • Null and undefined
  1. How can we access properties in a value (two ways)?
  • a dot and with square brackets, eg value.x and value[x]
  • the word after the dot is the literal name of the property
  • the expression between the brackets is evaluated to get the property name
  1. What are methods?
  • Properties that contain functions are generally called methods of the value they belong to, as in “toUpperCase is a method of a string”
  1. What are objects?
  • Values of the type object are arbitrary collections of properties. One way to create an object is by using braces as an expression
    let day1 = {
    squirrel: false,
    events: [“work”, “touched tree”, “pizza”, “running”]
    };
  1. What problem do objects solve that cannot be solved with other value types we’ve learned so far (such as integer, string, array, boolean etc)?
  • each entry can now store a list of activities and a Boolean value
  1. How do you define an object?
  • using braces as an expression.
    let day1 = {
    squirrel: false,
    events: [“work”, “touched tree”, “pizza”, “running”]
    };
  1. What can you say about the mutability of Javascript objects?
  • numbers, strings, and Booleans, are all immutable—it is impossible to change values of those types. You can combine them and derive new values from them, but when you take a specific string value, that value will always remain the same. The text inside it cannot be changed
  • Objects work differently. You can change their properties, causing a single
    object value to have different content at different times

SECOND PART:

  1. Why can’t you add new properties to a string variable?
  • You can combine them and derive new values from them, but when you take a specific string value, that value will always remain the same
  1. What are rest parameters?
  • for a function to accept any number of arguments, by putting three dots before the function’s last parameter
  1. (Feel free to skip the sub-chapter of Math object and Destructing)

  2. What is serialisation and what is a use case of serialisation of data?

  • convert these tangles of memory addresses into a flat description that can be stored or sent. A popular serialization format is called JSON, which stands for JavaScript Object Notation. It is widely used as a data storage and communication format on the Web, even in languages other than JavaScript
  1. What is JSON?
  • A popular serialization format is called JSON, which stands for JavaScript Object Notation
  1. What are the differences between JSON and the way programmers write objects in plain Javascript?
  • JSON looks similar to JavaScript’s way of writing arrays and objects, with a
    few restrictions. All property names have to be surrounded by double quotes,
    and only simple data expressions are allowed
1 Like

FIRST PART

  1. Read the sub-chapter called The weresquirrel. What problems does this chapter introduce that cannot be solved with variable types such as strings or integers?
    Strings and intergers cannot hold multiple values or types but just one type of data

  2. What variable type can be used in order to solve the problem of storing multiple values?
    Arrays and objects

  3. What are properties in Javascript?
    Characteristic that describe attributes about a data structure

  4. Which values do not have properties?
    Null and undefined

  5. How can we access properties in a value (two ways)?
    Dot and square bracket

  6. What are methods?
    Methods are Properties that contain functions

  7. What are objects?
    Collection of properties

  8. What problem do objects solve that cannot be solved with other value types we’ve learned so far (such as integer, string, array, boolean etc)?
    Objects are able to hold as many different datatypes as we need.

  9. How do you define an object?
    Let myObject={Name:“Tool”, Qtt:10};

  10. What can you say about the mutability of Javascript objects?
    Objects can be modified - have their values changed

SECOND PART

  1. Why can’t you add new properties to a string variable?
    A String is not an object, therefore cannot be changed

  2. What are rest parameters?
    An array will all arguments to be included

  3. What is serialisation and what is a use case of serialisation of data?
    To convert the state of Oject into flat data (bits) so that it can be sent or stored.

  4. What is JSON?
    JavaScript Object Notation - a serialization format for data storage and communication

  5. What are the differences between JSON and the way programmers write objects in plain Javascript?
    All property names must be bound in double quotes wihout function calls, comments, bindings or anything computational - just simple data expression

1 Like

First Part

  1. The problem in sub-chapter The weresquirrel was he was trying to collect data and keep a log but a variable such as string can only hold a single type of data. In order to solve the problem a data structure is needed to store multiple values and keep his information organized.
  2. An array variable type is able to store multiple values
  3. Properties in JavaScript define characteristics about values in a data structure
  4. Null and undefined are the two exceptions that do not have properies.
  5. Properties in a value can be accessed by using a dot and the name of the property or properties can also be accessed by using square brackets with the expression between them.
  6. Methods are properties that hold function values
  7. Objects are data structures capable of containing a collection of properties
  8. Objects are able to hold as many different datatypes as we need that other value types cannot
  9. Objects are defined as any other variable with the value being a list inside brackets
  10. Mutability of Javascript objects means that values inside can be changed
    Second Part
    1.You can’t add new properties to a string variable because they are immutable
    2.Rest parameters are denoted by a functions last parameter with 3 dots before its name and are used for functions that accept any number of arguments.
  11. Serialisation is converting data stored in memory into a flat description of what the data is. A use case for serialisation of data is saving a data file or transferring it to another computer.
  12. JavaScript Object Notation is a serialisation format used for data storage and communication and known as JSON.
  13. In JSON there is no function calls, bindings, or anything involving computations and we are not allowed to comment in JSON.
1 Like