--

Basic Fun with Java Script

  1. 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

--

--

Md Rakib Hossain Bd
0 Followers

I am a professional Font End Developer. I am familiar with React js, Express js, MongoDB