Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #28086

Re: null and NaN

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.datemas.de!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: null and NaN
Date Thu, 11 Jun 2015 21:07:50 +0200
Organization solani.org
Lines 32
Message-ID <mlcm9v$1u2$1@solani.org> (permalink)
References <null-20150602191404@ram.dialup.fu-berlin.de> <mkr6jk$sfb$1@speranza.aioe.org> <1887823.QYRqh1XSJF@PointedEars.de> <ml09gj$mhn$1@speranza.aioe.org> <6583706.BrqscuLzCi@PointedEars.de> <ml2r7v$7ni$1@speranza.aioe.org> <6931424.mSP66HsXnD@PointedEars.de> <mlc0s1$9tt$1@speranza.aioe.org> <mlc2d0$o3i$1@solani.org> <mlc6a4$nr4$1@speranza.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace solani.org 1434049663 1986 eJwFwYEBADAEA7CXmBbvMPP/CUtorn4DTgeXO6feWUo9WKZ0ltp4wTHRE0skhVflNHRtPx+zEPI= (11 Jun 2015 19:07:43 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Thu, 11 Jun 2015 19:07:43 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
X-User-ID eJwNy8kBwDAIA7CVMIch6wDJ/iO0+iuM4KQz6PHiqUAsWlgO6B6VaXi6ohb3mI0qizf/VNX7AerqD6c=
In-Reply-To <mlc6a4$nr4$1@speranza.aioe.org>
Cancel-Lock sha1:krqJcJXQtCdebRaS0e7LNbIt1ds=
X-NNTP-Posting-Host eJwFwYcBwDAIA7CXMGE456SM/0+o5CcQlRYe5us7hVPrLz8yL4g3LVI91NZChejYI5zSdpU/J48Q/Q==
Xref csiph.com comp.lang.javascript:28086

Show key headers only | View raw


Joao Rodrigues wrote:

> On 11/06/2015 10:28, Christoph M. Becker wrote:
>
> Brendan Eich *created* JavaScript in May, 1995 while working at
> Netscape, and he has been an active TC39 member in Ecma since 1996. As
> such, he is the very authority here. Besides, it is a *fact*, not an
> evidence, that Brendan Eich *recognized* publicly the typeof_null_bug [1].
> 
> [1] <http://wiki.ecmascript.org/doku.php?id=discussion:typeof>

Brendan Eich wrote:

| We have reason to believe typeof null === “object” is a bug that
| could bite real content, from our spidering of the web.

So yes, he admits that typeof null === "object" is a bug.  However, a
few lines above it is written:

| From bug fixes where the typeof fixing started, more about the typeof
| null === “null” fix:

Ah, obviously his comment refers to that.  Interestingly, the term "bug
fixes" is linked to "Bug fixes to ECMA-262".  ECMA-262 is a
specification, not an implementation, so obviously, Brendan Eich
admitted a *specification* bug.

Contrary to that, Dr. Rauschmeyer claims that typeof null === "object"
would have been an *implementation* bug in the first version of JavaScript.

-- 
Christoph M. Becker

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: null and NaN Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-05 00:55 -0300
  Re: null and NaN Robert Heller <heller@deepsoft.com> - 2015-06-05 06:57 -0500
    Re: null and NaN Steven D'Aprano <steve@pearwood.info> - 2015-06-07 18:47 +1000
  Re: null and NaN Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-06 08:39 +0200
    Re: null and NaN Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-06 23:15 -0300
      Re: null and NaN Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-07 09:59 +0200
        Re: null and NaN Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-07 22:30 -0300
          Re: null and NaN Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-10 20:48 +0200
            Re: null and NaN Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-11 10:01 -0300
              Re: null and NaN "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-11 15:28 +0200
                Re: null and NaN Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-11 11:34 -0300
                Re: null and NaN "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-11 21:07 +0200
                Re: null and NaN Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-11 17:29 -0300
                Re: null and NaN "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-11 23:15 +0200

csiph-web