Syntax window.resizeTo(numWidth, numHeight) The resizeTo() method resizes the window. New Width: New Height: