re: How to reverse a string in JavaScript VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION

This is a showcase, not a contest. Also, there is no point using reverse() to do a reverse operation. It's the same as trying to explain some term using the same term in a sentence.

This would be best solution. Yes it’s a re implementation of array reverse but it skips the split and join and only uses 2 bytes of memory and n/2 time

code of conduct - report abuse