Index: src/symbol.js |
diff --git a/src/symbol.js b/src/symbol.js |
index 0f5ecb7984d8ce9ebcfa0edbbb29cb560ba4234a..3a582f821a15e6e3d9d35ae6255b98cc046050ce 100644 |
--- a/src/symbol.js |
+++ b/src/symbol.js |
@@ -24,9 +24,7 @@ var GlobalSymbol = global.Symbol; |
// ------------------------------------------------------------------- |
function SymbolConstructor(x) { |
- if (%_IsConstructCall()) { |
- throw MakeTypeError('not_constructor', ["Symbol"]); |
- } |
+ if (%_IsConstructCall()) throw MakeTypeError(kNotConstructor, "Symbol"); |
// NOTE: Passing in a Symbol value will throw on ToString(). |
return %CreateSymbol(IS_UNDEFINED(x) ? x : ToString(x)); |
} |