We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I add an Object.prototype function to my project, I get this error.
Example function to reproduce:
Object.prototype.pickProperties = function(keys) { console.log("called!"); var clone = {}; for(var i = 0; i < keys.length; i++) { var key = keys[i]; if(this.hasOwnProperty(key)) { clone[key] = this[key]; } } return clone; };
TypeError: Cannot read property 'mac' of undefined at Object. (...\node_modules\uniqid\index.js:22:36)
I'm using the latest Version: uniqid@5.2.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I add an Object.prototype function to my project, I get this error.
Example function to reproduce:
Object.prototype.pickProperties = function(keys) {
console.log("called!");
var clone = {};
for(var i = 0; i < keys.length; i++) {
var key = keys[i];
if(this.hasOwnProperty(key)) {
clone[key] = this[key];
}
}
return clone;
};
TypeError: Cannot read property 'mac' of undefined
at Object. (...\node_modules\uniqid\index.js:22:36)
I'm using the latest Version: uniqid@5.2.0
The text was updated successfully, but these errors were encountered: