|
|
|
|
|
by vladimir-y
3145 days ago
|
|
> In a weakly typed language like Javascript, I don't think you'll ever regret being a little more explicit. "!!" is not needed in the shown case. It might be needed if you want to pass somewhere or return "boolean" value, but in the example it's only the "if" thing. |
|