I'm using Lodash...
coffee> _ = require("lodash")
[stuff deleted]
This expression gives the right answer...
coffee> _.map("7-9".split("-"), (x)->parseInt(x))
[ 7, 9 ]
But this one gives something slightly different for the last result in the array:
coffee> _.map("7-9".split("-"), parseInt)
[ 7, NaN ]
coffee>
Why are the answers different? Surely (x)->paresInt(x) should behave the same as parseInt