Editor Arrow Download Open
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>JavaScript non strict mode function parameter name</title> </head> <body> <pre> <!-- Use pre element for work document.writeln() method --> <script type="text/javascript"> function fun1(arg1, arg1){ return arg1 + arg1; } result = fun1(5, 10); document.writeln( result ); </script> </pre> </body> </html>
  Preview Arrow