Hi,

Is there a chance to implement custom operator behaviour ?

Like Point and Vector.

var p = new Point(2,3);
var v = new Vector(-2,5);
var pt = p + v; // result is a Point(0, 8)


Or I have to create a Translate() prototype method ?
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to