![]() |
Warning: Your browser may be outdated or
unsupported. The JavaScript console is known to display some of the examples incorrectly in Internet Explorer 8 or older. |
var obj = { a: 'value', b: 123, c: null }
Object.keys(obj)
["a", "b", "c"]
obj.a
"value"
obj.toString
function toString() { [native code] }
obj.toString()
"[object Object]"
{ a: 1 } === { a: 1 }
false