Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: How to manipulate integer that sometimes Nan and sometimes have a value? Date: Fri, 02 Oct 2015 13:55:52 +0100 Organization: A noiseless patient Spider Lines: 18 Message-ID: <87a8s1sa3r.fsf@bsb.me.uk> References: <9060ce04-2f9e-4554-be83-2f69c213424f@googlegroups.com> <560bddeb$0$23841$e4fe514c@news.xs4all.nl> <560cf259$0$23792$e4fe514c@news.xs4all.nl> <7uls0b16v45mvlc4t036gq054mpc16scc8@4ax.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="27366"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/a6k3yAtKt0MUA4r2U4ixAGWM8bp45aQ=" Cancel-Lock: sha1:t1+qcqoody26ILnLmYfGOVMfXkc= sha1:k6J+VXxbSGZlVN/zWI0JYPe/MAE= X-BSB-Auth: 1.39a7dc326764c6c6f770.20151002135552BST.87a8s1sa3r.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:28785 John Harris writes: > You've missed out the well known horror : > if (b) { > doB(); doE(); > } > > :-) And let's not forget if (Sinatra) { doB(); doB(); Do(); } :-) -- Ben.