small question something = -1

ksclans

Solid State Member
Messages
20
When something like

INPUT = false

that mean there no input or input is turn off... if TRUE then it on...

what about

INPUT = -1

what that mean>?

thx
 
Typically, that is used to represent false or off. 0 is more common for that, but -1 is used when 0 is a possible input value.
 
I'm not really familiar with JS, but sometimes -1 means NULL or undefined...which is different than off/false.
 
Back
Top Bottom