First commit.
This commit is contained in:
8
snippets/js-mode/try
Normal file
8
snippets/js-mode/try
Normal file
@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: try-catch block
|
||||
# --
|
||||
try {
|
||||
`%`$0
|
||||
} catch (${1:err}) {
|
||||
${2:// Do something}
|
||||
}
|
Reference in New Issue
Block a user