DEV Community

loading...

Discussion on: What does "if(variable++)" do in Javascript

Collapse
rsa profile image
Ranieri Althoff

Hold up! Not in programming, but in Javascript and some other languages. Several languages use ++ to concatenate.

Collapse
hariramjp777 profile image
Hari Ram

Thanks. 👍