Nov 3, 2020
Basic Fun with Java Script
- 1 String.chartAt():
This is the most important string to find any position value into array or sentence. If i have an array or sentence and we want to know the position value of the sentence then chartAt use for find the position value.
Example: const sentence=”I love programming”; const index=3;
console.log(“the index $(index) value position word is $(sentence.chartAt(index)”);
ans: the index 3value position word is l