Home » HTML » Html miscellaneous » Question
  1. Negative positions for string do not work in ______________.
    1. Safari
    2. Opera
    3. Chrome
    4. Internet Explorer 8
    5. 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.



Your comments will be displayed only after manual approval.