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

21 lines
259 B
JavaScript
Vendored

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