There is no operator overloading in JavaScript so this is not possible.

Cheers,    -- Mads

On Fri, Aug 13, 2010 at 3:48 PM, Nicholas Kundu <[email protected]>wrote:

> With V8, is it possible to "overload" (bind to) operators (+, -, *, /) so
> that they may have special behavior (for example, manipulates the internal
> fields of the objects in a particular way)?
>
> Is there a particular code file or documentation page I should refer to for
> this?
>
> Thanks,
> Nick
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to