Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript reverse string short hand

function reverseString(str) {
	return str.toString().split('').reverse().join('');
}
 
PREVIOUS NEXT
Tagged: #javascript #reverse #string #short #hand
ADD COMMENT
Topic
Name
1+6 =