title: How to implement "move tab to new window" in JavaScript
body: <p>How to implement the &quot;move tab to new window&quot; function in Javascript? To pop-out current tab to a new window.</p>
  <p><a href="https://i.stack.imgur.com/mAl5A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mAl5A.png" alt="Edge" /></a></p>
  <p><a href="https://i.stack.imgur.com/hjHOk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hjHOk.png" alt="Chrome" /></a></p>