2009/3/18 MJ <[email protected]>:
>
> Oh ok, I did not know that. So they are unusable by other scripts?

As far as I know, yes.


>
> On Mar 18, 9:03 am, Erik Corry <[email protected]> wrote:
>> 2009/3/18 MJ <[email protected]>:
>>
>>
>>
>> > There are a bunch of ECMA spec fucntions like ToNumber, ToString and
>> > such defined in runtime.js in V8. Although when you try to use them in
>> > script they are undefined. Has anyone seen this or know why this is?
>>
>> The policy-based explanation is that they are not really part of the
>> ECMAScript standard.  They are only used to explain the algorithms
>> that are in the spec.
>>
>> The technical explanation is that files like runtime.js have a
>> different global object than other scripts.
>>
>> --
>> Erik Corry, Software Engineer
>> Google Denmark ApS.  CVR nr. 28 86 69 84
>> c/o Philip & Partners, 7 Vognmagergade, P.O. Box 2227, DK-1018
>> Copenhagen K, Denmark.
> >
>



-- 
Erik Corry, Software Engineer
Google Denmark ApS.  CVR nr. 28 86 69 84
c/o Philip & Partners, 7 Vognmagergade, P.O. Box 2227, DK-1018
Copenhagen K, Denmark.

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

Reply via email to