mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:57:35 +00:00
LibJS: Add a basic test for arguments.callee
This commit is contained in:
parent
b985fa989e
commit
3217e6237c
1 changed files with 6 additions and 0 deletions
6
Userland/Libraries/LibJS/Tests/arguments-callee.js
Normal file
6
Userland/Libraries/LibJS/Tests/arguments-callee.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
test("basic arguments.callee", () => {
|
||||
var foo = function () {
|
||||
return arguments.callee;
|
||||
};
|
||||
expect(foo()).toBe(foo);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue