This document aims to explain what various attributes like
constructor
, prototype
and __proto__
point to
and what happens when new objects are created.
There are several ways of creating new objects:
o = {'one': 1, 'two': 2};
function f() {return 'three';}