mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 18:15:07 +00:00
LibJS: Set length property in Object::put_native_function()
This commit is contained in:
parent
b3c4514902
commit
cd3e2690eb
14 changed files with 25 additions and 23 deletions
|
@ -16,7 +16,7 @@ namespace JS {
|
|||
GlobalObject::GlobalObject()
|
||||
{
|
||||
put_native_function("gc", gc);
|
||||
put_native_function("isNaN", is_nan);
|
||||
put_native_function("isNaN", is_nan, 1);
|
||||
|
||||
// FIXME: These are read-only in ES5
|
||||
put("NaN", js_nan());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue