<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>JavaScript strict mode this keyword</title>
</head>
<body>
<script type="text/javascript">
// Press F12 - View result on Console Panel
"use strict";
function myFun(){
console.log(this);
}
myFun();
console.log(this);
</script>
</body>
</html>