Hacker News new | ask | show | jobs
by mathias 3156 days ago
That’s not equivalent though — in the article’s example, imagine `element` is `undefined`, for example. `then()` wouldn’t be called in that case.