In comp.lang.javascript message <11***************@proxy01.news.clara.ne
t>, Wed, 17 Oct 2007 14:13:20, The Natural Philosopher <a@b.cposted:
>God., t took me an hour last night to add two numbers together..
Before trying to program in a language, one should try to learn
something about it and to appreciate how much or how little one knows.
>Yo would have thought that the people who dreamed up this shit could
have made a slightly more sensible way of arranging typing than to
declare all variables typeless, and have a function to turn a typeless
thing into a number so that you could actually make '10'+'5' not be
'105'...
They did. If you had read the FAQ carefully you would have seen it. If
the FAQ were better written, you would not have needed to read it so
carefully. See also <URL:
http://www.merlyn.demon.co.uk/js-
maths.htm#UPM>.
And there are occasions when combining '10' and '5' should give '105'...
--
(c) John Stockton, Surrey, UK. ??*@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/- FAQish topics, acronyms, & links.
Check boilerplate spelling -- error is a public sign of incompetence.
Never fully trust an article from a poster who gives no full real name.