How should operator overloading work?
luoyonggang at gmail.com
Tue Dec 29 19:34:10 UTC 2015
Does operator overloading works means BigInt and uint64_t & int64_t would
On Wed, Dec 30, 2015 at 3:32 AM, Coroutines <coroutines at gmail.com> wrote:
> On Tue, Dec 29, 2015 at 11:15 AM, Andrea Giammarchi
> <andrea.giammarchi at 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
> > it's actually `Symbol['+']`, `Symbol['~']`, and others? AFAIK invoking
> > Symbol passing a string should create a named Symbol, and not a special
> > 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 at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss