3 ms·
This returns the length, not the line itself. Edit: `lines.reduce((line, line_) => line_.length > line.length ? line_ : line, '')`
by nunull 10y ago
This returns the length, not the line itself.
Edit: `lines.reduce((line, line_) => line_.length > line.length ? line_ : line, '')`
- gumoro 10y agoThanks, edited.