Closed brannondorsey closed 8 years ago
That MDN reference is a bit dense but it seems that the basics are:
Pros:
Cons:
P5.js also uses strict mode and implementing it for us would basically be the same thing. We add use script
as the inside of the first line in the define(...)
callback of each module.
"use strict" has now been implemented in the build
branch.
We need to determine if we should
'use strict'
mode for the modules. Most every new JavaScript resource recommends it.