We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2e0f8d + d2ad987 commit 9ff441aCopy full SHA for 9ff441a
snippets/javascript.snippets
@@ -69,8 +69,8 @@ snippet wh
69
snippet try
70
try {
71
${1:/* code */}
72
- } catch(e) {
73
- ${2:/* handle error */}
+ } catch(${2:e}) {
+ ${3:/* handle error */}
74
}
75
# do...while
76
snippet do
@@ -91,12 +91,6 @@ snippet get
91
# Get Element
92
snippet gett
93
getElementBy${1:Id}('${2}')${3}
94
-# Get Element
95
-snippet try
96
- try {
97
- ${2}
98
- } catch (${2:e}) {
99
- }
100
# console.log (Firebug)
101
snippet cl
102
console.log(${1});
0 commit comments