Ask Question
4 October, 16:54

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

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

+2
Answers (1)
  1. 4 October, 20:46
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers