mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Created these while experimenting with LibJS. Might as well bring them into the tree and increase our coverage.
17 lines
236 B
JavaScript
17 lines
236 B
JavaScript
var proto = { m() {} };
|
|
var obj = {
|
|
__proto__: proto,
|
|
test() {
|
|
return super.m();
|
|
},
|
|
get x() {
|
|
return super.m();
|
|
},
|
|
test2() {
|
|
return super["m"]();
|
|
},
|
|
};
|
|
obj.test();
|
|
obj.x;
|
|
obj.test2();
|