Files
kotlin-fork/js/js.translator/testData/box/esModules/jsModule/externalPackage.mjs
T
2021-10-12 23:29:39 +03:00

25 lines
319 B
JavaScript
Vendored

export function A(x) {
this.x = x;
}
A.prototype.foo = function (y) {
return this.x + y;
};
function Nested() {
this.y = 55;
}
A.Nested = Nested;
export var B = {
x: 123,
foo: function(y) {
return this.x + y;
}
};
export function foo(y) {
return 323 + y;
}
export var bar = 423;