mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +00:00
Everywhere: Hoist the Libraries folder to the top-level
This commit is contained in:
committed by
Andreas Kling
parent
950e819ee7
commit
93712b24bf
11
Libraries/LibJS/Tests/modules/function-in-function.mjs
Normal file
11
Libraries/LibJS/Tests/modules/function-in-function.mjs
Normal file
@@ -0,0 +1,11 @@
|
||||
function foo() {
|
||||
function bar() {}
|
||||
bar.baz = "value on bar";
|
||||
|
||||
return bar;
|
||||
}
|
||||
|
||||
foo.bippity = "boppity";
|
||||
const fooResult = foo();
|
||||
|
||||
export const passed = fooResult.baz === "value on bar" && foo.bippity === "boppity";
|
||||
Reference in New Issue
Block a user