InterviewSolution
Saved Bookmarks
| 1. |
Role of JSON.stringify() in JavaScript |
|
Answer» The NEGATIVE_INFINITE property is a property of the NUMBER Object in JavaScript, which is negative INFINITY. The following is the syntax: Number.NEGATIVE_INFINITY;The return value is -Infinity. LET us now see an EXAMPLE: <!DOCTYPE html> <html> <body> <script> var val = 5; document.write(val.NEGATIVE_INFINITY); </script> </body> </html>The output: Undefined |
|