<!DOCTYPE html>
<html lang="en-US">
<body>
<script>
"use strict";
// Error occur, check your console
function myFunction(x, x){
document.write("Parameter 1 = "+ x);
document.write("<br>Parameter 2 = "+ x);
}
myFunction(1, 2);
</script> </body>
</html>