The resizeTo() method is used for resizing a window to a new width and height. Its similar method is resizeBy() method.
Its syntax is:- window.resizeTo(width, height)
|width||Required. The new window width in pixels|
|height||Required. The new window height in pixels|