'a-big-bad-directive'.replace(/-(.)/g, function(a, b){
return b.toUpperCase();
});
Created
August 14, 2015 04:50
-
-
Save jhoguet/cce908948871e4c187df to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment