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


Groups > comp.lang.javascript > #19417

Re: Why is this not working

From "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Newsgroups comp.lang.javascript
Subject Re: Why is this not working
Date 2013-04-23 14:28 +0300
Organization A noiseless patient Spider
Message-ID <kl5r31$au6$1@dont-email.me> (permalink)
References <kl5q2o$65h$1@dont-email.me>

Show all headers | View raw


2013-04-23 14:11, Tony wrote:

> cellTitle = hours < 10 ? "0" + hours : hours + ":" + "00";

Analyze the structure of the expression, on the basis of operator 
precedence rules as defined in the standard.

Alternatively, save some trouble and use parentheses liberally. The 
expression would be too complicated to be read comfortably without 
parentheses even if it were formally correct to omit them.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/

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


Thread

Why is this not working "Tony" <tony.johansson@inport.com> - 2013-04-23 13:11 +0200
  Re: Why is this not working "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-04-23 14:28 +0300
  Re: Why is this not working Carlos Pedro <carlospedr@gmail.com> - 2013-04-23 05:42 -0700
    Re: Why is this not working "Tony" <tony.johansson@inport.com> - 2013-04-23 15:02 +0200

csiph-web