- From: John Cowan <jcowan@reutershealth.com>
- Date: Wed, 25 Sep 2002 07:06:06 -0400 (EDT)
- To: duerst@w3.org (Martin Duerst)
- Cc: shwetas@snb.psi.soft.net (Shweta Shandilya), www-international@w3.org
Martin Duerst scripsit:
> Also, please note that isNaN()
> sounds like a function suitable for application to
> (IEEE) floating point numbers, but not to characters.
IIRC in JavaScript the numeric value of a string that is not a well-formed
numeral is indeed NaN, so isNaN("abc") should be true.
--
John Cowan jcowan@reutershealth.com www.reutershealth.com www.ccil.org/~cowan
"The exception proves the rule." Dimbulbs think: "Your counterexample proves
my theory." Classicists think "'Probat' means 'tests': the exception puts the
rule to the proof." But legal historians know it means "Evidence for an
exception is evidence of the existence of a rule in cases not excepted from."
Received on Wednesday, 25 September 2002 07:06:57 UTC