Sometimes we would like to print some important content on the web page via a printer. We can use the print() function of window object to print the contents of a web page.
In programming, a variable is a value that can be changed. All variables will have a storage location and a name. The variable name is usually used to refer to the value that is stored in a variable.