Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to turn a string into an array javascript

function reverseString() {
  const myString = 'Hello';
  const splits = myString.split("").reverse().join("");
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #turn #string #array #javascript
ADD COMMENT
Topic
Name
2+9 =