x = 3.14; // This will cause an error (x is not defined)
Part of the appeal of
use strict is that it forces good practices. With that enabled, you are required to use the
var keyword, otherwise an exception will be thrown.
Here's Mozilla's Documentation on strict mode