Update snippet descriptions

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-10-21 21:17:45 +03:00
parent 45aab31b91
commit 47276ac092
11 changed files with 17 additions and 13 deletions

View File

@ -5,7 +5,7 @@ tags: array,intermediate
Takes any number of iterable objects or objects with a `length` property and returns the longest one.
- Use `Array.prototype.reduce()`, comparing the `length` of objects to find the longest one.
- Use `Array.prototype.reduce()`, comparing the length of objects to find the longest one.
- If multiple objects have the same length, the first one will be returned.
- Returns `undefined` if no arguments are provided.