https://www.atatus.com/blog/solve-javascript-error-before-it-happens-strict-mode/
Solve JavaScript Error before it happens [strict mode]