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


Groups > comp.lang.javascript > #33968

Re: object is undefined

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: object is undefined
Date 2017-09-08 09:21 +0200
Organization PointedEars Software (PES)
Message-ID <50170722.5lcoankNRJ@PointedEars.de> (permalink)
References <8418d597-62e8-42da-a639-1d886a3ea913@googlegroups.com> <console-log-20170907154618@ram.dialup.fu-berlin.de>

Show all headers | View raw


Stefan Ram wrote:

> JRough <janis.rough@gmail.com> writes:
>>console.log(a["b"]);
>>undefined
> 
>   The value of the call »console.log(...)« usually /is/
>   undefined.

The _return value of the method_ is _defined_ to be:

<https://console.spec.whatwg.org/#log>

>   The actual output might not have appeared in the console this was copied
>   from.

Doubtful.

>   So, possibly, one just sees the value of the call.

The _return value of the method_, _definitely_.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

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


Thread

object is undefined JRough <janis.rough@gmail.com> - 2017-09-06 16:31 -0700
  Re: object is undefined Andrew Poulos <ap_prog@hotmail.com> - 2017-09-07 11:23 +1000
    Re: object is undefined Andrew Poulos <ap_prog@hotmail.com> - 2017-09-07 11:27 +1000
      Re: object is undefined JRough <janis.rough@gmail.com> - 2017-09-06 18:33 -0700
  Re: object is undefined Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-09-08 09:21 +0200
    Re: object is undefined Jake Jarvis <pig_in_shoes@yahoo.com> - 2017-09-08 10:59 +0200
      Re: object is undefined Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-09-08 11:14 +0200

csiph-web