diff --git a/Userland/Libraries/LibJS/Tests/arguments-callee.js b/Userland/Libraries/LibJS/Tests/arguments-callee.js new file mode 100644 index 0000000000..986c63fcc2 --- /dev/null +++ b/Userland/Libraries/LibJS/Tests/arguments-callee.js @@ -0,0 +1,6 @@ +test("basic arguments.callee", () => { + var foo = function () { + return arguments.callee; + }; + expect(foo()).toBe(foo); +});