window.close() Closes this window. Syntax window.close() Parameters None. Example window.close(); Notes None. Specification DOM Level 0. Not part of specification.
Closes this window.
window.close()
None.
window.close();
DOM Level 0. Not part of specification.