Question: - Write JavaScript code to declare a string named address and assign the text 123 W Main to it. - What character is at index
- Write JavaScript code to declare a string named address and assign the text "123 W Main" to it.
- What character is at index 4 in the string literal in the previous question?
- Write JavaScript code to retrieve the character at index 4 from the variable addressand to store that character in a variable named c.
- Write JavaScript code to convert all the characters in a string named s to lower case and assign the lower case string to a variable named t.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
