DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js camel case to snake case
var s1 = 'someTextHere'; var o1 = s1.split(/(?=[A-Z])/).join('_').toLowerCase();
PREVIOUS
NEXT
Tagged:
#js
#camel
#case
#snake
#case
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit