Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

reverse words javascript

function reverse (word) {
    word = word.split('.').reverse().join('.')
    return word

}
word = 'i.like.this.program.very.much'
word = 'pqr.mno'
console.log(reverse(word))
 
PREVIOUS NEXT
Tagged: #reverse #words #javascript
ADD COMMENT
Topic
Name
8+4 =