mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 23: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
|
@ -243,8 +243,8 @@ ReplObject::ReplObject()
|
|||
{
|
||||
put_native_function("exit", exit_interpreter);
|
||||
put_native_function("help", repl_help);
|
||||
put_native_function("load", load_file);
|
||||
put_native_function("save", save_to_file);
|
||||
put_native_function("load", load_file, 1);
|
||||
put_native_function("save", save_to_file, 1);
|
||||
}
|
||||
|
||||
ReplObject::~ReplObject()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue