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
The console allows you to interact with the course material and examples. Use the following keys:
A special logging function is also available: