1. To store information remotely.
2. To send and receive bits of data.
3. To store information locally.
To send and receive bits of data.
1. Alert
2. Prompt
3. Confirm
4. All of the above
All of the above
1. JSON.parse('({"FirstName": "John", "LastName":"Doe"})');
2. JSON.parse("{'FirstName': 'John', 'LastName':'Doe'}");
3. JSON.parse("({'FirstName': 'John', 'LastName':'Doe'})");
4. JSON.parse('{"FirstName": "John", "LastName":"Doe"}');
JSON.parse('{"FirstName": "John", "LastName":"Doe"}');
1.
2.
3.
4.
<script src="demo.js">
1. { "letters" : [ "a", "b", "c"; ] }
2. { 'letters' : {"a", "b", "c" } }
3. { "letters" : [ a, b, c ] }
4. { "letters" : [ "a", "b", "c" ] }
{ "letters" : [ "a", "b", "c" ] }
1. Object
2. Array
3. Class
4. Not a valid JSON string
Object
1. JavaScript is a stripped-down version of Java
2. JavaScript's syntax is loosely based on Java's
3. They both originated on the island of Java
4. None of the above
JavaScript's syntax is loosely based on Java's
1. "{ }", "a string", "false", "0"
2. [ ], 0, "true", "0"
3. { }, "0", false, 0
4. { }, hello, "false", "0"
{ }, "0", false, 0
1. String
2. Array
3. Boolean
4. Object
Object
1. False
2. True
False