Re: Cookie problem! Getting error when passing the expire date.
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Cookie problem! Getting error when passing the expire date.

From: VK <schools_ring@yahoo.com>
Date: Sun Apr 30 2006 - 21:51:50 CEST

Lasse Reichstein Nielsen wrote:
> I guess it's a matter of definition whether "" represents a number
> (that would be 0 then) or not. The "Number" function appears to think
> it does.

Not the Number only, but the whole language itself, welcome to the
JavaScript world. Are we aware of runtime typezation? ;-)

alert("" == 0); // true

btw and AFAIK Number is supposed to be used as constructor, not as a
method.
Received on Mon May 1 05:28:05 2006