Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: null and NaN Date: Tue, 02 Jun 2015 22:50:46 +0200 Organization: PointedEars Software (PES) Lines: 31 Message-ID: <5372109.m6cAzv7mbg@PointedEars.de> References: Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1433278411 28001 eJwFwYEBwDAEBMCVaP6FcRD2H6F3PKbWF0YDl7tlTeeL/sT0+KZE1rACnSXAOLbEb+kjBz8mBBFi (2 Jun 2015 20:53:31 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 2 Jun 2015 20:53:31 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNy8EBwCAIA8CVkIaA49gg+4/Q3v/i4aISDCImJnWsm26I7S9LsoT2Pp26yuvyrmOxUA/V+DfNbc2obhc+VBsVYw== Cancel-Lock: sha1:KwG9zP0/JxE3+QqCX5/3h9Rytsk= X-NNTP-Posting-Host: eJwNxckRADEIA7CWuIxpJ2HW/Zew0UfI9l5WowuCKLfR8kxfQ9yiI5YmDZn+/rATsVknCf0RAxCn Xref: csiph.com comp.lang.javascript:27966 Stefan Ram wrote: > Sometimes, it has been questioned whether it was wise to > implement > > typeof null > "object" Cite evidence. > . However, I just became aware that this is echoing a > similar case: > > typeof NaN > "number" > > . NaN says its »Not a Number«, yet typeof says it is a > number! It is a simple consequence of the Number type implementing most of the IEEE 754 Specification for double-precision floating-point values. As much too often before, your almost unreadable ramblings are unsubstantiated, unsubstiantal, and ultimately pointless. I wished you would stop them and actually start learning things. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.