What does ‘use strict’; do when placed in a function? Why don’t we see it used as often in modern JavaScript code?

Technical