Difference between browser tab and window
<p>In web browsers each window has its own JavaScript environment, with its own
global object. But it looks like that opening a new tab in the same window also creates a different global object. Is this really true? What is the main differences between a new tab and a new window? </p>