JS - What Is Use Strict and What Does It Do

The keyword ‘use strict’ means that the JavaScript engine will be pickier about certain things we do when we write code.

It turns on the strict mode operating context wherever you place it (inside of a function will activate strict mode on the function level scope) including: