Cookies are the small test files stored in a computer and it gets created when the user visits the websites to store information that they need. Example could be User Name details and shopping cart information from the previous visits.
Escape characters (Backslash) is used when working with special characters like single quotes, double quotes, apostrophes and ampersands. Place backslash before the characters to make it display.
Void(0) is used to prevent the page from refreshing and parameter “zero” is passed while calling.
Void(0) is used to call another method without refreshing the page.
“==” checks only for equality in value whereas “===” is a stricter equality test and returns false if either the value or the type of the two variables are different.
In order to detect the operating system on the client machine, the navigator.appVersion string (property) should be used.
The NULL value is used to represent no value or no object. It implies no object or null string, no valid boolean value, no number and no array object.
The functionality of delete operator is used to delete all variables and objects in a program but it cannot delete variables declared with VAR keyword.
- Confirm and