Skip to content

Commit

Permalink
Fix method setting
Browse files Browse the repository at this point in the history
  • Loading branch information
HalidOdat authored Feb 28, 2022
1 parent f85b220 commit 3df0059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa_engine/src/builtins/object/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl BuiltIn for Object {
.method(Self::has_own_property, "hasOwnProperty", 1)
.method(Self::property_is_enumerable, "propertyIsEnumerable", 1)
.method(Self::to_string, "toString", 0)
.method(Self::to_string, "toLocaleString", 0)
.method(Self::to_locale_string, "toLocaleString", 0)
.method(Self::value_of, "valueOf", 0)
.method(Self::is_prototype_of, "isPrototypeOf", 1)
.static_method(Self::create, "create", 2)
Expand Down

0 comments on commit 3df0059

Please sign in to comment.