I have a confusion about what exactly people mean by Object Literals, JSON, JavaScript Objects, for me they seem similar:
{foo: 'bar', bar : 'baz'}
AFAIK, above is the object literal, json, and also the javascript object, right?
Does the object have literal and json the same?
How do you guys distinguish what it is?
source
share