Update snippet descriptions

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-10-20 23:02:01 +03:00
parent 52880f08ee
commit caa67e2a49
63 changed files with 175 additions and 126 deletions

View File

@ -8,7 +8,8 @@ Checks if the provided argument is array-like (i.e. is iterable).
- Check if the provided argument is not `null` and that its `Symbol.iterator` property is a function.
```js
const isArrayLike = obj => obj != null && typeof obj[Symbol.iterator] === 'function';
const isArrayLike = obj =>
obj != null && typeof obj[Symbol.iterator] === 'function';
```
```js