JavaScript » Window » self

Syntax:
self.property or method

This property is a reference (or synonym) for the current active window or frame.