diff --git a/bcrypt.js b/bcrypt.js index 923edca..bb4d141 100644 --- a/bcrypt.js +++ b/bcrypt.js @@ -35,13 +35,13 @@ module.exports.genSalt = function genSalt(rounds, minor, cb) { // if callback is first argument, then use defaults for others if (typeof arguments[0] === 'function') { - // have to set callback first otherwise arguments are overriden + // have to set callback first otherwise arguments are overridden cb = arguments[0]; rounds = 10; minor = 'b'; // callback is second argument } else if (typeof arguments[1] === 'function') { - // have to set callback first otherwise arguments are overriden + // have to set callback first otherwise arguments are overridden cb = arguments[1]; minor = 'b'; }