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.
All posts by Pramod T P
JavaScript Escape Characters
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.
JavaScript Data Type Of Variables
All variables in the JavaScript are object data types.
Javascript Void(0)
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.
Javascript Difference Between “==” and “===”
“==” 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.
Javascript Detect Operating System
In order to detect the operating system on the client machine, the navigator.appVersion string (property) should be used.
Javascript NULL
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.
Javascript Delete Operator
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.
Javascript Popup Boxes
Below given are the popup boxes supported by Javascript
- Alert
- Confirm and
- Prompt
Javascript Negative Infinity
Negative Infinity is a number in JavaScript which can be derived by dividing negative number by zero.