method:resizeTo ( width, height );return type:voidcontent:ใช้ปรับขนาดของหน้าต่าง โดยจะมีขนาดตามที่กำหนดexample:window.resizeTo ( 400, 500 );