var lines = “Hello\r\n\r\nJ2S\r\nWorld\r\n”.split (/\r\n|\r|\n/g);
alert (lines.length);
In both Mozilla/Firefox and Opera, it is 5. But in IE6, it is 3!
Is it bug of IE6? Does it exist in former IE or the future IE7?
var lines = “Hello\r\n\r\nJ2S\r\nWorld\r\n”.split (/\r\n|\r|\n/g);
alert (lines.length);
In both Mozilla/Firefox and Opera, it is 5. But in IE6, it is 3!
Is it bug of IE6? Does it exist in former IE or the future IE7?