mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
LibJS: Add "name" property to functions
This commit is contained in:
parent
d007e8d00f
commit
99be27b4a1
16 changed files with 118 additions and 16 deletions
|
@ -1,6 +1,10 @@
|
|||
load("test-common.js");
|
||||
|
||||
try {
|
||||
assert(Error.length === 1);
|
||||
assert(Error.name === "Error");
|
||||
assert(Error.prototype.length === undefined);
|
||||
|
||||
var e;
|
||||
|
||||
e = Error();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue