Last active
December 6, 2015 23:27
-
-
Save ik9999/e69c5d70e58c6ed9e06e to your computer and use it in GitHub Desktop.
Javascript snippets(ES6)
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
snippet afun "Arrow function" w | |
(${1}) => { | |
${2} | |
} | |
endsnippet | |
snippet afune "Arrow function(without paranethesis)" w | |
${1} => { | |
${2} | |
} | |
endsnippet | |
snippet dbg "debugger;" w | |
debugger; | |
endsnippet | |
snippet let "Let" | |
let ${1} = ${2}; | |
endsnippet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment