dotfiles/.emacs.d/snippets/js-mode/switch
2017-12-21 17:29:29 +01:00

10 lines
162 B
Plaintext

# -*- mode: snippet; require-final-newline: nil -*-
# name: switch
# key: sw
# --
switch (${1:condition}) {
case ${2:expression}:
$0
break;
default:
}