Skip to content

Commit 2a098b5

Browse files
authored
remove missing function snippets
1 parent 9814a6b commit 2a098b5

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

README.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -270,30 +270,14 @@ async (${1:arguments}) => {
270270

271271
#### `aiife⇥` async immediately-invoked function expression
272272

273+
very useful when you don't have top level await(node 16 and lower)
274+
273275
```js
274276
;(async (${1:arguments}) => {
275277
${0}
276278
})(${2})
277279
```
278280

279-
#### `fa⇥` function apply
280-
281-
```js
282-
${1:fn}.apply(${2:this}, ${3:arguments})
283-
```
284-
285-
#### `fc⇥` function call
286-
287-
```js
288-
${1:fn}.call(${2:this}, ${3:arguments})
289-
```
290-
291-
#### `fb⇥` function bind
292-
293-
```js
294-
${1:fn}.bind(${2:this}, ${3:arguments})
295-
```
296-
297281
#### `af⇥` arrow function (ES6)
298282

299283
```js

0 commit comments

Comments
 (0)