JavaScript – String valueOf() Method
The String valueOf() method returns the primitive value of a string, without changing the original string.
The String valueOf() method returns the primitive value of a string, without changing the original string.
The Window alert() method displays an alert popup in the browser with a message and OK button, and is used to display information to the user.
The Window clearInterval() method clears a timer set with the setInterval() method.
The Window clearTimeout() method clears a timer set with the setTimeout() method.
The Window close() method closes a browser window (or tab depending on how the user has their browser set up).
The Window confirm() method displays a dialog box with a message, an OK button, and Cancel button.
The window.getComputedStyle() method gets the computed CSS properties and values of an HTML element.
The window.matchMedia() method returns a MediaQueryList with the results from the query.
The Window moveBy() method moves a window a number of pixels, both horizontal and vertical, relative to its current coordinates.
The Window moveTo() method moves a window to a new horizontal and vertical position.
The window.open() method opens a new browser window/tab, depending on the browser settings and the parameter values.
The window.print() method opens a print dialog box, which lets the user select from printing options to print the contents of the window.
The Window prompt() method displays a dialog box that prompts the user for input.
The Window resizeBy() method resizes a window by a specified amount.
The Window resizeTo() method resizes a window to a specified width and height.
The window.scrollBy() method scrolls the document by the specified number of pixels, but only if the page is longer than the window.