MDN:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode

'use strict';
var x = 1;
// delete x; // elete of an unqualified identifier in strict mode.

function add(x){
    var a =2;
    b = a+x;
    console.log(this);
}
add(1); // b is not defined -> var로 변수명을 할당해야 함

const array = [1, 2, 3];
for(num of array){
    console.log(num); // num is not defined -> let, const를 사용해야 함
}