Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JavaScript Representing Infinity</title> </head> <body> <script> let x = 5 / 0; document.write(x + "<br>"); // Infinity let y = -5 / 0; document.write(y); // -Infinity </script> </body> </html>