1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +00:00

LibJS: Implement spec-complient instance_of operation

This commit is contained in:
Matthew Olsson 2020-07-11 15:27:28 -07:00 committed by Andreas Kling
parent 7bf4b1c9f0
commit dd49ec17a2
3 changed files with 50 additions and 6 deletions

View file

@ -323,6 +323,7 @@ Value mod(Interpreter&, Value lhs, Value rhs);
Value exp(Interpreter&, Value lhs, Value rhs);
Value in(Interpreter&, Value lhs, Value rhs);
Value instance_of(Interpreter&, Value lhs, Value rhs);
Value ordinary_has_instance(Interpreter& interpreter, Value lhs, Value rhs);
bool abstract_eq(Interpreter&, Value lhs, Value rhs);
bool strict_eq(Interpreter&, Value lhs, Value rhs);