How to achieve a string reverse function in the js?

"string".split('').reverse().join('');

 

Guess you like

Origin www.cnblogs.com/aisowe/p/11423182.html