Reverse a string in JavaScript using split(), reverse(), and join() methods.

Published --