Home
<!DOCTYPE html> <html> <body> <h1>Demo: JavaScript arguments object</h1> <script> function ShowMessage() { alert("Hello " + arguments[0] + " " + arguments[1]); } ShowMessage("Steve", "Jobs"); ShowMessage("Bill", "Gates"); ShowMessage(100, 200); </script> </body> </html>
Result: