When there is an indefinite or an infinity value during an arithmetic value computation, javascript
A. Prints an exception error
B. Prints an overflow error
C. Displays “Infinity”
D. Prints the value as such
Answer: Option C
Solution(By Examveda Team)
When the result of a numeric operation is larger than the largest representable number (overflow), the result is a special infinity value, which JavaScript prints as Infinity. Similarly, when a negative value becomes larger than the largest representable negative number, the result is negative infinity, printed as -Infinity. The infinite values behave as you would expect: adding, subtracting, multiplying, or dividing them by anything results in an infinite value (possibly with the sign reversed.The development environment offers which standard construct for data validation
A. Super controlled loop constructs
B. Case sensitivity check
C. Validation constructs
D. All of the mentioned
The main purpose of a “Live Wire” in NetScape is to
A. Create linkage between client side and server side
B. Permit server side, JavaScript code, to connect to RDBMS
C. Support only non relational database
D. To interpret JavaScript code
A JavaScript program developed on a Unix Machine
A. will throw errors and exceptions
B. must be restricted to a Unix Machine only
C. will work perfectly well on a Windows Machine
D. will be displayed as a JavaScript text on the browser
Join The Discussion