Closed
Description
It would be an issue if there is a method exported from the current module named hasOwnProperty
:
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Personally I would write it as:
function __export(m) {
var hasOwnProperty = Object.prototype.hasOwnProperty;
for (var p in m) if (!hasOwnProperty.call(exports, p)) exports[p] = m[p];
}