Files
kotlin-fork/js/js.translator/testData/box/jsModule/externalClass.js
T
Roman Artemev 5686de7e09 [JS IR BE] Make kotlinx.io compile
- Fix expect/actual default arguments
 - Fix dynamic type in inliner
 - Fix external varargs
2019-05-31 13:14:43 +03:00

14 lines
278 B
JavaScript
Vendored

define("lib", [], function() {
function A(x) {
this.x = x;
}
A.prototype.foo = function (y) {
return this.x + y;
};
A.prototype.bar = function() {
return "(" + Array.prototype.join.call(arguments, "") + ")";
};
return A;
});