snippet f "function" function ${1:function_name}(${2:argument}) { ${VISUAL}$0 } endsnippet snippet scf "self calling function" ! (function (${1:argument}) { ${VISUAL}$0 }(${2:$1})); endsnippet snippet log "console.log" console.log(${1:"${2:value}"}); endsnippet