Last active
January 19, 2016 22:59
-
-
Save fakenickels/6b749f0d96366e1f8c84 to your computer and use it in GitHub Desktop.
ES5 to ES6 syntax snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# { fn:function(args){} } => { fn(args){} } | |
find . -name \*.js -exec perl -p -i -e 's/:\s?function\s?\((.+)?\)\s?/(\1)/' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment