brev=wit
brevity is talent's sister
I'm laughing so hard, this is a brilliant solution
!0 === !!1 === false !0 is shorter
!0 === !!1 === false
!0
it's a wrong solution if a test string contains digits or whitespaces (non-letters). example: "lowercase 567 UPPERCASEE" this string contains more uppercase letters, but with your solution it will be converted to lowercase.
Loading collection data...
brev=wit
brevity is talent's sister
I'm laughing so hard, this is a brilliant solution
!0 === !!1 === false
!0
is shorterit's a wrong solution if a test string contains digits or whitespaces (non-letters).
example: "lowercase 567 UPPERCASEE"
this string contains more uppercase letters, but with your solution it will be converted to lowercase.