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