bugfix: JavaScript function literal is not only a statement but also an expression; you can pass the function literal as an argument for a function call.
This commit is contained in:
parent
e24b6baeb9
commit
020c2f126e
@ -6,7 +6,7 @@ options head
|
|||||||
|
|
||||||
snippet function
|
snippet function
|
||||||
alias func
|
alias func
|
||||||
options head
|
options word
|
||||||
function ${1:function_name}(${2:argument}) {
|
function ${1:function_name}(${2:argument}) {
|
||||||
${0:// body...}
|
${0:// body...}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user