+ 2
is this wht u looking for? feels silly to me ;) function getCharAt(word,index){ return word.charAt(index); } console.log(getCharAt("my word",1)) more info on this : https://www.w3schools.com/jsref/jsref_charat.asp
8th Apr 2017, 3:01 AM
Eranga
Eranga - avatar