focusMoves the focus to the window's browsing context, if any. function focus(): void;§focus(): void[src]§Return Type§void[src]