Function focus

  • Moves the focus to the window's browsing context, if any.

    MDN Reference

    Returns void