Y
Hacker News
new
|
ask
|
show
|
jobs
by
yuchi
4841 days ago
Probably a terrible mistake from the developer, not the minifier.
fireToken: f.tradeTokens.data.fireToken === 1 ? true : false
In my company I see JS code like the following:
if (!!someFlag) { /* ... */ }