[JS IR BE] Do not create $default stub for external function and any its fake override

This commit is contained in:
Roman Artemev
2019-07-04 18:10:43 +03:00
committed by romanart
parent 28a108a205
commit 8a569cc698
8 changed files with 82 additions and 5 deletions
@@ -0,0 +1,13 @@
define("lib", [], function() {
function A(ss) {
this.s = ss || "A"
}
A.prototype.foo = function (y) {
return y || "K";
};
A.prototype.bar = function (y) {
return y || "O";
};
return A;
});