The Window.name property gets/sets the name of the window's browsing context.
Window.name
MDN Reference