Help for this page

Select Code to Download


  1. or download this
    > hash = {a:1}
    Object { a: 1 }
    ...
    
    > array.__proto__.__proto__
    Object { … }
    
  2. or download this
    > h={}                         // empty hash?
    Object {  }
    
    > h["constructor"]             // well, beware of inherited attributes
    function Object()
    
  3. or download this
    > h = Object.create(null)
    Object {  }
    
    > h["constructor"]
    undefined