focus method

void focus()

Moves the focus to the window's browsing context, if any. https://html.spec.whatwg.org/multipage/interaction.html#dom-window-focus

Implementation

void focus() {
  // TODO
}