method:assign ( url );return type:voidcontent:ใช้เปลี่ยน page ไปยัง url ที่กำหนด และ back กลับไปได้example:window.location.assign ( "http://www.bamboolabcode.com" );