DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
compare string camelcase and lowercase javascript
function sameCase(str) { return /^[A-Z]+$/.test(str) || /^[a-z]+$/.test(str); }
Source by www.textbotonline.com #
PREVIOUS
NEXT
Tagged:
#compare
#string
#camelcase
#lowercase
#javascript
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit