Object.keys() only returns the keys of the object that's passed in as a parameter. JavaScript Interaction between Iframe and Parent. Numbers, String, boolean… are passed as values. object initializer) to create an object: personobject describes a person’s name and surname. window.frames – a collection of nested window objects, window.parent, window.top are the references to parent and top windows, iframe.contentWindow is the window inside an