That's just a microoptimization to be completely honest.
And I never used Boolean as a constructor. If I did, I would've used the new keyword. The way I used Boolean is merely a normal function call (like any other function call) to explicitly convert a value to a boolean. It's vaguely similar to how Object#toString converts any object to a string.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That's just a microoptimization to be completely honest.
And I never used
Booleanas a constructor. If I did, I would've used thenewkeyword. The way I usedBooleanis merely a normal function call (like any other function call) to explicitly convert a value to a boolean. It's vaguely similar to howObject#toStringconverts any object to a string.