esamattis / esamattis/underscore.string
Using `_.lines` for strings that ends (and starts) with newline
Open
- Dominant language
- JavaScript
- Stars
- 3.4k
- Forks
- 367
- PR merge metrics
- No merged PRs in 30d
Description
I ran the following and three strings were returned.
``` javascript
_("Hello\nWorld\n").lines();
// result: ["Hello", "World", ""]
```
However, the current `README` only shows how the function is used.
My question is what is the expected behavior? For me, I think the current result is fine.
Contributor guide
Assessment
This issue has not been assessed yet.