Ask Question

Assume courseTitle = "Principles in Information Technology and Computation";

Write a jа vascript statement to find the third character courseTitle.

+5
Answers (1)
  1. 4 April, 12:41
    0
    var courseTitle = "Principles in Information Technology and Computation";

    var result = courseTitle. charAt (2);

    Explanation:

    Following are the code of jа vascript code that read the 3 character

    var courseTitle = "Principles in Information Technology and Computation";

    var result = courseTitle. charAt (2);

    document. write (result);

    The charAt method return the character at the specified position in the string. We can just give the index number in which we find the character at the specified position.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Assume courseTitle = "Principles in Information Technology and Computation"; Write a jа vascript statement to find the third ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers