mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibJS: Fix String.raw.length
This commit is contained in:
parent
3f97d75778
commit
4c6fd49169
Notes:
sideshowbarker
2024-07-19 05:04:40 +09:00
Author: https://github.com/mattco98
Commit: 4c6fd49169
Pull-request: https://github.com/SerenityOS/serenity/pull/2689
Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ void StringConstructor::initialize(Interpreter& interpreter, GlobalObject& globa
|
|||
define_property("length", Value(1), Attribute::Configurable);
|
||||
|
||||
u8 attr = Attribute::Writable | Attribute::Configurable;
|
||||
define_native_function("raw", raw, 0, attr);
|
||||
define_native_function("raw", raw, 1, attr);
|
||||
define_native_function("fromCharCode", from_char_code, 1, attr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue