Index: src/symbol.js |
diff --git a/src/symbol.js b/src/symbol.js |
index 810501352817e1ad758e1c78b44fe4efff4ac0b4..72aa4d632416f0873db1637cd2a88f3482dd5a72 100644 |
--- a/src/symbol.js |
+++ b/src/symbol.js |
@@ -26,7 +26,7 @@ |
function SymbolConstructor(x) { |
if (%_IsConstructCall()) throw MakeTypeError(kNotConstructor, "Symbol"); |
// NOTE: Passing in a Symbol value will throw on ToString(). |
- return %CreateSymbol(IS_UNDEFINED(x) ? x : $toString(x)); |
+ return %CreateSymbol(IS_UNDEFINED(x) ? x : ToString(x)); |
} |
@@ -69,7 +69,7 @@ |
// ES6 19.1.2.8 |
function ObjectGetOwnPropertySymbols(obj) { |
- obj = $toObject(obj); |
+ obj = ToObject(obj); |
// TODO(arv): Proxies use a shared trap for String and Symbol keys. |