mirror of https://github.com/webpack/webpack.git
If use CSP (without `unsafe-eval`), both `new Function` and `eval` will be forbidden, so `eval` part is just dead code.
The only possibility `eval` part would run was `new Function('return this')()` return a falsy value, but it never possible as the spec (Is there any old engine violate this? Never heard about that.)
This pr also add `new` keyword to make the code a little bit explicit.
|
||
|---|---|---|
| .. | ||
| amd-define.js | ||
| amd-options.js | ||
| global.js | ||
| harmony-module.js | ||
| module.js | ||
| system.js | ||