<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>JavaScript strict mode with function</title>
</head>
<body>
<script type="text/javascript">
// Press F12 - View Syntax error on Console Panel
"use strict";
eval = 10;
document.writeln(eval);
eval = "Hello world!";
document.writeln(eval);
function myFun(eval, eval1){
document.writeln(eval + eval1);
}
eval = "How are you? ";
eval1 = "Thank you";
myFun(eval, eval1);
</script>
</body>
</html>