Skip to content

Commit

Permalink
Lambda expressions can be used as wrappers as well (#1538)
Browse files Browse the repository at this point in the history
- similar to if statements, it is useful to be able to wrap statements
with lambda expressions
  • Loading branch information
jaresty committed Aug 24, 2024
1 parent 63d85ca commit 0a4af44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/snippets/snippets/lambdaExpression.snippet
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: lambdaExpression
phrase: lambda

$0.wrapperPhrase: lambda
$0.wrapperScope: statement
---

language: javascript
Expand Down

0 comments on commit 0a4af44

Please sign in to comment.