how to close another browser tab with javascript

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

Also in JavaScript: