function MyObject() {}
MyObject()
undefined
new MyObject()
{}
var obj = new MyObject()
obj instanceof MyObject
true
obj.constructor
function MyObject() {}
obj.constructor === MyObject
true
The console allows you to interact with the course material and examples. Use the following keys:
A special logging function is also available: