https://developer.mozilla.org/en-US/docs/Web/API/Window.name
It is a string, because window.name
has a purpose. You are setting the name of the window.
More Related Contents:
- Simple Javascript validation function [closed]
- I want to change texts which have same color without use any class/id etc. via JS [closed]
- Facebook JS SDK’s FB.api(‘/me’) method doesn’t return the fields I expect in Graph API v2.4+
- What is the explanation for these bizarre JavaScript behaviours mentioned in the ‘Wat’ talk for CodeMash 2012?
- Take a screenshot of a webpage with JavaScript?
- Simplest/cleanest way to implement a singleton in JavaScript
- Change URL parameters and specify defaults using JavaScript
- Execute script after specific delay using JavaScript
- What does ‘:’ (colon) do in JavaScript?
- How do I correctly detect orientation change using Phonegap on iOS?
- Prevent Page Load on Jquery Form Submit with None Display Button
- Resolving require paths with webpack
- How to write asynchronous functions for Node.js
- How to add/subtract dates with JavaScript?
- Benefits of loading JS at the bottom as opposed to the top of the document
- Javascript to sort contents of select element
- Restricting character length in a regular expression
- How to check if an object is a Promise?
- JS – get image width and height from the base64 code
- jQuery – How to select by attribute
- Matching accented characters with Javascript regexes
- Best way to convert string to array of object in javascript?
- What does “./bin/www” do in Express 4.x?
- Override a setter, and the getter must also be overridden
- How to keep the browser history in sync when using Ajax?
- Rock, Paper, Scissors, Lizard, Spock in JavaScript
- What does the Array method `reduce` do?
- prevent form submission (javascript)
- JavaScript is in array [duplicate]
- Why can’t I use a Javascript function before its definition inside a try block?