Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9ccd2ac

Browse files
baxter2lpil
authored andcommitted
extend javascript snippets.
1 parent b826162 commit 9ccd2ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

snippets/javascript/javascript.snippets

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ snippet timeout
283283
setTimeout(function () {${0}}${2}, ${1:10});
284284
snippet const
285285
const ${1} = ${0};
286+
snippet constn
287+
const ${1} = new ${0};
286288
snippet let
287289
let ${1} = ${0};
288290
snippet im "import xyz from 'xyz'"

0 commit comments

Comments
 (0)