@ -23,6 +23,10 @@
*/
function Unit(amount, code) {
if (!(this instanceof Unit)) {
return new Unit(amount, code);
}
this._value = this._from(amount, code);
var self = this;