Status: New
Owner: ----

New issue 480 by kowsik: Standard JS methods to the C++ classes
http://code.google.com/p/v8/issues/detail?id=480

I would love to do this with strings:

Handle<String> s = ...;
Handle<Array> a = s->Split(...);

Same issue with Array objects not overloading [] operator that takes an
index and maps it to the IndexPropertyGetter of the appropriate object.
This will make life a whole lot easier to programmatically invoke
methods/accessors of JS objects from within the code.

Here's another example:

Handle<Array> a1 = ...;
Handle<Array> a2 = a1->Slice(...);

Obviously these methods already exist, but are only accessible if compile
and run a script, which is painful.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to