Home
<!DOCTYPE html> <html> <body> <h1>Demo: JavaScript arguments object</h1> <p id="p1"></p> <script> let square = num => num * num; let result = square(5); document.getElementById("p1").innerHTML = result; </script> </body> </html>
Result: