Hacker News new | ask | show | jobs
by SahAssar 2306 days ago
> full = full == "true";

That's basically a way to convert a stringified bool to a bool. Not the way I'd do it, and "assignee_name, summary, limit" are all declared as reassignable just to be able to reassign "full".

> if (!!limit

That's pretty common in js, not usually in if statements, but in other cases. No idea why that was done that way.