Hacker News new | ask | show | jobs
by stuffmatic 624 days ago
Or, since the function expression is just JavaScript, singularities can also be avoided like this: x == 0 ? 1 : Math.sin(x) / x