Y
Hacker News
new
|
ask
|
show
|
jobs
by
jacobolus
4518 days ago
Actually, the original version, something like:
pall = (lines...) -> (console.log line) for line in lines return
Is going to get you much better performance in JavaScript than using the forEach method.