Skip to content

Commit

Permalink
Fix wrong name of Function.prototype[Symbol.hasInstance] (#2905)
Browse files Browse the repository at this point in the history
  • Loading branch information
raskad committed May 5, 2023
1 parent b4b77e7 commit c220505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa_engine/src/builtins/function/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ impl IntrinsicObject for BuiltInFunctionObject {
let _timer = Profiler::global().start_event("function", "init");

let has_instance = BuiltInBuilder::callable(realm, Self::has_instance)
.name("[Symbol.iterator]")
.name("[Symbol.hasInstance]")
.length(1)
.build();

Expand Down

0 comments on commit c220505

Please sign in to comment.