Re: +n- Flaw in IE
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: +n- Flaw in IE

From: impaler <TamasJano@gmail.com>
Date: Fri Jan 13 2006 - 11:26:20 CET

The only string concatenation I see is var v="a"+"A" and there is
nothing wrong with it.
I don't know what you mean by "Any instance of +n - (where n=integer)
will cause JavaScript string concatenations to blow up"
This is how you tell javascript that a variable is an integer. +n or
n-0 or something.
Didn't see any problem when surrounding +n with quotes.

you mean like something this?
        var a = "+123";
        var b = "+134";
        alert(a+b);

it works fine.
Received on Tue Jan 17 17:11:17 2006