1. javascript
2. java/script
3. NaN
4. None of the above
NaN
1. If null or omitted, all properties of the object are included in the resulting JSON string
2. If a function, transforms values and properties encountered while stringifying
3. All three statements are true
4. If an array, specifies the names of the properties in the object to include in the resulting JSON string
All three statements are true
1. { "meals" : { "breakfast" , "lunch" , "dinner" } }
2. { "meals" : [ "breakfast" , "lunch" , "dinner" ] }
3. [ "meals" : { "breakfast" , "lunch" , "dinner" } ]
4. [ {"meals" : { "breakfast" , "lunch" , "dinner" } } ]
{ "meals" : [ "breakfast" , "lunch" , "dinner" ] }
1. It uses bitwise checking
2. It uses === and !== instead
3. It uses equals() and notequals() instead
4. It uses equalto()
It uses === and !== instead
1. When JSON is not offered.
2. When you need to use tags to structure your content.
3. You need message validation or you're using XSLT.
4. Never, JSON is worlds better.
You need message validation or you're using XSLT.
1. Get the object
2. Dereference the current scope chain
3. Reference the current scope chain
4. Return the value
Reference the current scope chain
1. Faster transfer times over the internet
2. Parsing JSON is noticeably faster than parsing XML
3. Web apps have a smaller footprint
Faster transfer times over the internet
1. ReferenceError
2. EvalError
3. SyntaxError
4. TypeError
SyntaxError
1. JSON.eval()
2. JSON.parse()
3. jQuery.parseJSON()
4. eval()
JSON.eval()
1. No, it will be stripped out.
2. Yes, only within strings.
3. Yes, only outside of strings.
4. Yes, both inside and outside of strings
Yes, only within strings.