All variables in the JavaScript are object data types.
All posts by Pramod T P
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.
What does the expression Exception::__toString means?
Exception::__toString gives the String representation of the exception.
How is it possible to set an infinite execution time for PHP script?
The set_time_limit(0) added at the beginning of a script sets to infinite the time of execution to not have the PHP error ‘maximum execution time exceeded’.It is also possible to specify this in the php.ini file.