JavaScript Reference/Javascript Properties/closed
"closed" Example
<html>
<body>
<button onclick="alert(window.closed);">closed Property Value</button>
</body>
</html>
"closed" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |window |
+----------------+--------------------------------------------------------------+
"closed" Syntax and Note
Note:
Read-only property.
Is window closed.
Syntax:
window.closed
windowName.closed // IE only