Saturday, January 3, 2009

javascript on IE... hell

on Most web browser, the two following statements and equal
/^foovbar(.*)/.exec("slota")

/^foovbar(.*)/("slota")

But on IE, only the first is valid, the other create a javascript error... It costs me several hours of my life :)

Later: apparently it is/was the case on webkit too as an old issue with my Adobe Air application trackability just disapeared.

0 comments:

Share/Save/Bookmark