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


Groups > comp.lang.javascript > #41167

Re: Simple question on boolean function return value

From Janis Papanagnou <janis_papanagnou@hotmail.com>
Newsgroups comp.lang.javascript
Subject Re: Simple question on boolean function return value
Date 2023-01-13 16:23 +0100
Organization Aioe.org NNTP Server
Message-ID <tprt13$vkf$1@gioia.aioe.org> (permalink)
References <tprrfh$4ve$1@gioia.aioe.org> <pair-20230113160915@ram.dialup.fu-berlin.de>

Show all headers | View raw


On 13.01.2023 16:09, Stefan Ram wrote:
> Janis Papanagnou <janis_papanagnou@hotmail.com> writes:
>> return  now.getDay()==5 && now.getDate==13;
> 
>   There is a pair of parentheses missing above.

Argh! - I had been looking so long at that code that I obviously
got "code-blind". - Thanks!

Janis

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


Thread

Simple question on boolean function return value Janis Papanagnou <janis_papanagnou@hotmail.com> - 2023-01-13 15:56 +0100
  Re: Simple question on boolean function return value Janis Papanagnou <janis_papanagnou@hotmail.com> - 2023-01-13 16:23 +0100
  Re: Simple question on boolean function return value V V V V V V V V V V V V V V V V V V <vvvvvvvvaaaaaaaaaaaaaaa@mail.ee> - 2023-01-28 09:05 -0800

csiph-web