Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #40995
| From | emf <emfril@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: JSLint: "Wrap a ternary expression in parens, ..." |
| Date | 2022-07-16 17:27 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <tavah4$nfj$1@gioia.aioe.org> (permalink) |
| References | <tapv73$1pkf$1@gioia.aioe.org> <ff42c0ad-120d-4a19-9a04-e4b47f2b0a92n@googlegroups.com> <tasbct$11ej$1@gioia.aioe.org> <formatting-20220715193854@ram.dialup.fu-berlin.de> <formatting-20220716131733@ram.dialup.fu-berlin.de> |
On 2022-07-16 08:19, Stefan Ram wrote: > ram@zedat.fu-berlin.de (Stefan Ram) writes: >> orb = >> orb0Btn.checked? 0: >> orb5Btn.checked? 5: >> orb10Btn.checked? 10: >> orb15Btn.checked? 15: >> 20; > > Or, > > orb = > orb0Btn. checked? 0: > orb5Btn. checked? 5: > orb10Btn.checked? 10: > orb15Btn.checked? 15: > 20; > > . Now, imagine that someone does not know all details of the > ternary operator well, but has a basic idea of it. In which > way could he be mislead by this? Thanks! Your idea is very simple and easy to understand! emf -- Natal Transits Calculator https://emf.neocities.org/nt/nataltransits2.html
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
JSLint: "Wrap a ternary expression in parens, ..." emf <emfril@gmail.com> - 2022-07-14 16:44 -0400
Re: JSLint: "Wrap a ternary expression in parens, ..." "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2022-07-15 08:40 -0700
Re: JSLint: "Wrap a ternary expression in parens, ..." emf <emfril@gmail.com> - 2022-07-15 14:24 -0400
Re: JSLint: "Wrap a ternary expression in parens, ..." "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2022-07-16 08:37 -0700
Re: JSLint: "Wrap a ternary expression in parens, ..." emf <emfril@gmail.com> - 2022-07-16 17:46 -0400
Re: JSLint: "Wrap a ternary expression in parens, ..." emf <emfril@gmail.com> - 2022-07-16 17:27 -0400
Re: JSLint: "Wrap a ternary expression in parens, ..." emf <emfril@gmail.com> - 2022-07-15 14:19 -0400
csiph-web