‘name’ is the property of the window object of the browser. It is a built-in property in JavaScript. window.name is still in use in JavaScript, but it is planned to be removed in the future.
What is attribute name in HTML?
The name attribute specifies a name for an HTML element. This name attribute can be used to reference the element in a JavaScript. For a