Thanks for the quick reply. WebStorm suggests in the auto completion that 
it is. I'll circle back with them on that.

On Wednesday, 5 December 2012 18:49:58 UTC-8, Rick Waldron wrote:
>
>
>
>
> On Wed, Dec 5, 2012 at 9:36 PM, Paul Harris <[email protected]<javascript:>
> > wrote:
>
>> I may be wrong, but 'Infinity' is like null and Undefined - a magic 
>> reserved word.
>> It is not a property of the 'Number' object,
>>
>
> Confirmed. There is no such property of the global Number object.
>
> Rick
>
>>
>> So Number.Infinity is Undefined in the same way as Number.whatever
>> "whatever" is not a property on Number either, so it is also Undefined.
>>
>>
>> On Thursday, December 6, 2012 8:41:57 AM UTC+8, Christoph Bussler wrote:
>>>
>>> Hi,
>>>
>>> as expected, typeof Infinity is 'number'. However, typeof 
>>> Number.Infinity is 'undefined'. Why is that?
>>>
>>> typeof Number.POSITIVE_INFINITY and typeof Number.NEGATIVE_INFINITY are 
>>> both 'number', too. So I would expect typeof Number.Infinity to be 'number' 
>>> also.
>>>
>>> Thanks.
>>>
>>>  -- 
>> v8-users mailing list
>> [email protected] <javascript:>
>> http://groups.google.com/group/v8-users
>>
>
>

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

Reply via email to