Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #26205
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Unexpected value when using "<" |
| Date | 2014-11-24 19:43 +0100 |
| Organization | PointedEars Software (PES) |
| Message-ID | <19416251.oVA11F6UJe@PointedEars.de> (permalink) |
| References | <723cd8aa-caff-4530-9977-9884cddeb3c7@googlegroups.com> <2134606.TczYAlEYiD@PointedEars.de> <ea9250aa-0675-4d93-926b-36dc33b49904@googlegroups.com> |
RobG wrote: > Thomas 'PointedEars' Lahn wrote: >> You have overlooked that the Abstract Relational Comparison Algorithm >> does not terminate the algorithm of the operator: >> >> | 11.8.1 The Less-than Operator ( < ) >> | >> | [...] >> | 5. Let r be the result of performing abstract relational comparison >> | lval < rval. (see 11.8.5) >> | 6. If r is undefined, return false. Otherwise, return r. >> >> IOW, *that* algorithm always returns either "true" or "false". > > Ah, I skipped a step. Thank you. You are welcome. >> Apropos: The ECMAScript Support Matrix includes - and will probably use >> in the future - a draft reference implementation of ECMAScript Ed. 5.1 >> (and probably later of Ed. 6) in ECMAScript which supports a trace mode >> that is intended to make it easier to see such behavior. […] The entire >> source code can be found in [2] (which I will switch to Git along with >> the rest of my public repositories). Feedback and contributions are >> appreciated. >> >> [2] >> [<http://PointedEars.de/wsvn/es-matrix/trunk/application/scripts/es.js> > > That seems interesting, but I can't connect to http://pointedears.de. It is working again since several hours. Please trim your quotes. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Unexpected value when using "<" RobG <rgqld@iinet.net.au> - 2014-11-23 17:45 -0800
Re: Unexpected value when using "<" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-24 03:37 +0100
Re: Unexpected value when using "<" RobG <rgqld@iinet.net.au> - 2014-11-23 19:53 -0800
Re: Unexpected value when using "<" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-24 19:43 +0100
csiph-web