LibJS: Replace StringOrSymbol::from_value with Value::to_property_key

This is a more specification compliant implementation of the
abstract operation 7.1.19 ToPropertyKey which should handle boxed
symbols correctly.
This commit is contained in:
Idan Horowitz 2021-06-05 15:22:11 +03:00 committed by Linus Groh
commit eb0b1c432a
Notes: sideshowbarker 2024-07-18 16:51:04 +09:00
8 changed files with 29 additions and 29 deletions

View file

@ -130,6 +130,7 @@ class ScopeNode;
class ScopeObject;
class Shape;
class Statement;
class StringOrSymbol;
class Symbol;
class Token;
class VM;