“How-to-close-current-tab-in-a-browser-window” Kode Jawaban

JavaScript Tutup Tab Saat Ini

window.close();//closes the current browser tab
Grepper

How-to-close-current-tab-in-a-browser-window

Writing this on 24 Dec 2020. Tried almost all the things available on google, but none of them worked in Chrome browser. window.open('','_self').close() works for IE.
Blushing Bird

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya