method:clear ();return type:voidcontent:ใช้ลบข้อความที่เขียนลงเอกสาร โดยคำสั่ง writeexample:window.document.clear ();