"undefined"s are unnecessary

This commit is contained in:
Ryan X. Charles 2014-09-16 10:10:06 -07:00
parent ced35a07eb
commit 3daeabaf30
1 changed files with 5 additions and 5 deletions

View File

@ -13,11 +13,11 @@ var ECDSA = function ECDSA(obj) {
};
ECDSA.prototype.set = function(obj) {
this.hashbuf = obj.hashbuf || this.hashbuf || undefined;
this.keypair = obj.keypair || this.keypair || undefined;
this.sig = obj.sig || this.sig || undefined;
this.k = obj.k || this.k || undefined;
this.verified = obj.verified || this.verified || undefined;
this.hashbuf = obj.hashbuf || this.hashbuf;
this.keypair = obj.keypair || this.keypair;
this.sig = obj.sig || this.sig;
this.k = obj.k || this.k;
this.verified = obj.verified || this.verified;
return this;
};