I am using Webpack with babel-loader, and i see this trouble: babel-loader change this
agrument in anonymous self-invoking functions to undefined
instead this
.
In example:
(function (t1, t2) {
})(this, 'test')
Convert to:
(function (t1, t2) {
})(undefined, 'test');