"use strict";
is just a way of enabling more restrictions to make writing JS less error prone. You can find the details of what that does on MDN (or, if you don't like long verbose technical explanations, this is a pretty good summary!)
@waffle
@sh.itjust.works