+ 1
JavaScript problem
Hi there 👋🏻 Is it possible to separate the letters of a word and perform a separate operation on each of them in JS?
3 odpowiedzi
+ 5
Yes 𝒦 ℛ one option might be a do / while
+ 2
𝒦 ℛ have a look at the .charAt() method that extracts a single character from a given position in the string.
For reference:
https://www.w3schools.com/jsref/jsref_charat.asp
+ 1
How it can be done with do while ?
Can you give me an example please?