by darrensw777 · 8y ago · 0 comments
let addOne = (x) => {x + 1};
That is such a basic syntax error it's unbelievable that whoever wrote it didn't see it, and whoever proofread it didn't see it either.
Just an unneccessary function that neither returns nor mutates something...