Home | History | Annotate | Download | only in src

Lines Matching full:symbol

34 var $Symbol = global.Symbol;
49 var symbol = IS_SYMBOL_WRAPPER(this) ? %_ValueOf(this) : this;
50 if (!IS_SYMBOL(symbol)) {
52 'incompatible_method_receiver', ["Symbol.prototype.name", this]);
54 return %SymbolName(symbol);
62 // NOTE: Both Symbol objects and values can enter here as
66 'incompatible_method_receiver', ["Symbol.prototype.valueOf", this]);
76 %SetCode($Symbol, SymbolConstructor);
77 %FunctionSetPrototype($Symbol, new $Symbol());
78 %SetProperty($Symbol.prototype, "constructor", $Symbol, DONT_ENUM);
80 InstallGetter($Symbol.prototype, "name", SymbolGetName);
81 InstallFunctions($Symbol.prototype, DONT_ENUM, $Array(