diff --git a/micro-snippets-plugin/snippets/javascript.snippets b/micro-snippets-plugin/snippets/javascript.snippets index db04e54..6a500eb 100644 --- a/micro-snippets-plugin/snippets/javascript.snippets +++ b/micro-snippets-plugin/snippets/javascript.snippets @@ -15,14 +15,9 @@ snippet f "" w function(${1}) { ${0} } -# Anonymous Function assigned to variable -snippet vaf - var ${1:function_name} = function(${2}) { - ${0} - }; # Function assigned to variable -snippet vf - var ${1:function_name} = function $1(${2}) { +snippet cf + const ${1:function_name} = (${2}) => { ${0} }; # Immediate function