Monday, November 16, 2009

Internet Explorer, String.concat() and Javascript 1.5

Hello, Internet Explorer... have you ever tried to join two strings together?

Not add them ambigiously with
"a" + "b"
but
String.concat("a", "b");
them?

I'm guessing none of your developers ever has, because it doesn't work.


Why this acceptable:
String.fromCharCode(12);

but for concat, you have to do:
String("a").concat("b");


?

Ridiculous.

Reblog this post [with Zemanta]
Post a Comment