Quick actions

cmd+k|ctrl+k

Navigation

Languages

Reverse String

Snippet info

Language

JavaScript

Visibility

public

Author

ron

Created

2020-06-20T05:50:13Z

Updated

2020-06-20T05:50:13Z

const word ="Rever_1_Test_2";

let reverseString = str => str.split('_').reverse().join('_');

console.log(reverseString(word));
INFO