On Tue, Dec 29, 2015 at 11:15 AM, Andrea Giammarchi
<andrea.giammar...@gmail.com> wrote:
> I should probably read other threads too about this, but is `Symbol('+')` a
> typo and it should be a property like any other well known `Symbol` so that
> it's actually `Symbol['+']`, `Symbol['~']`, and others? AFAIK invoking
> Symbol passing a string should create a named Symbol, and not a special one.
>
> Thanks for any sort of clarification.
> Best Regards

Yeah, I messed up there, should be Symbol['+'] simillar to Symbol.iterator

In my example, I have Symbol('+') everywhere which would mistakenly
create several symbols with the same '+' description.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to