Y
Hacker News
new
|
ask
|
show
|
jobs
by
diffrinse
292 days ago
In the example function that calls `indexOf` in a for..of loop, my mind went straight to the `join('\n')` when the newline delimiter could've been included in the string concatenation operation in the loop.