confi-emacs-actual/snippets/js-mode/try

8 lines
116 B
Plaintext
Raw Permalink Normal View History

2022-03-30 01:21:13 +02:00
# -*- mode: snippet -*-
# name: try-catch block
# --
try {
`%`$0
} catch (${1:err}) {
${2:// Do something}
}