DEV Community

Discussion on: The future of Javascript - features to keep an eye on

Collapse
 
seanmclem profile image
Seanmclem

In C# you had to parse it to a boolean to test if it was false. Last time I used it. Like how you can't just drop a string into an If-condition, you have to test if it's null or empty, but not with js.

Collapse
 
mateiadrielrafael profile image
Matei Adriel • Edited

Yes, but for example c++ just lets you if (number)