-
Negative positions for string do not work in ______________.
-
- Safari
- Opera
- Chrome
- Internet Explorer 8
- None of these
Correct Option: D
While using slice(), substr() and substring() method we pass numbers as parameters respective to the string. E.g var tes= str.slice(-10). -10 is indicates negative position. It does not work in Internet Explorer or older versions.