var test = "Hello World" what will test.substr(3,7) result in

  1. lo w

  2. lo worl

  3. lo wo

  4. index out of range error during compilation


Correct Option: B

Find more quizzes: