Y
Hacker News
new
|
ask
|
show
|
jobs
by
nunull
3493 days ago
This returns the length, not the line itself.
Edit: `lines.reduce((line, line_) => line_.length > line.length ? line_ : line, '')`
1 comments
gumoro
3493 days ago
Thanks, edited.
link