the String.Trim(char c) method is not working in browsers (tested on IE and Chrome):
Code: Select all
var testStr = "testStringxxx";
var trimmed = testStr.Trim('x');
--> results in exception: "TypeError: "testStringxxx".Trim is not a function".
It's not critical, but a bit annoying - if you are testing with the debugger during implementation, everything is working fine - testing in browsers causes exceptions..