Comparing sensitive data, confidential files or internal emails?

Most legal and privacy policies prohibit uploading sensitive data online. Diffchecker Desktop ensures your confidential information never leaves your computer. Work offline and compare documents securely.

Untitled diff

Created Diff never expires
17 removals
23 lines
11 additions
16 lines
"use strict";
"use strict";

var Multiply = (function () {
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function Multiply(a, b) {

this.a = a;
var Multiply = function () {
this.b = b;
function Multiply(a, b) {
}
_classCallCheck(this, Multiply);
Multiply.prototype.result = function () {

return this.a * this.b;
this.a = a;
};
this.b = b;
return Multiply;
}
}());

Multiply.prototype.result = function result() {
return this.a * this.b;
};

return Multiply;
}();

var multiply = new Multiply(2, 3);
var multiply = new Multiply(2, 3);
console.log(multiply.a);
console.log(multiply.a);
console.log(multiply.b);
console.log(multiply.b);
console.log(multiply.result());
console.log(multiply.result());
//# sourceMappingURL=Multiply.js.map