javascript object literal and json

Solutions on MaxInterview for javascript object literal and json by the best coders in the world

showing results for - "javascript object literal and json"
Emil
30 Jul 2018
1 var obj = {foo: 42}; // creates a JavaScript object (this is *not* JSON) 
2 var json = '{"foo": 452}'; // creates a string containing JSON