JavaScript » Window » resizeTo

Syntax:
window.resizeTo(outerWidth, outerHeight)

This method is used to resize a window to the dimensions supplied with the outerWidth and outerHeight (both integers, in pixels) parameters.