3 ms·
`undefined` is a variable that can (could? It may have changed with strict mode or ES6) be set globally to arbitrary values. You can use `undefined` safely wit
by pygy_ 10y ago
`undefined` is a variable that can (could? It may have changed with strict mode or ES6) be set globally to arbitrary values.
You can use `undefined` safely with an IIFE wrapper:
(function(undefined) {
// you're safe here
}());