Window.resizeTo() in javascript

The window object represents the web browser’s window.

There are various methods available in the window.

one of them is resizeTo().

resizeTo() the method is used to resize the window.