These methods should just be properties on the global object, and you
should be able to replace them with whatever you want.
$ ./shell_g
V8 version 0.4.6
> parseInt('123')
123
> parseInt = function() { return 10; }
function () { return 10; }
> parseInt('123')
10
-- dean
On Sun, Jan 4, 2009 at 2:56 PM, Metaphor <[email protected]> wrote:
>
> I want to know what value is used in JavaScript built-in function
> argument like parseInt(), unescape() and isNaN().
> Is it possible to set callback function from my code using V8?
>
> Thanks in advance.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---