Answers for "to snake case js"

3

js camel case to snake case

var s1 = 'someTextHere';
var o1 = s1.split(/(?=[A-Z])/).join('_').toLowerCase();
Posted by: Guest on March-20-2020

Code answers related to "to snake case js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language