for programmers
something useful if you have a variable you want to change back and forth from 0 to 1
code that people usually use:
function toggleFrom0to1(){
if(x === 0){
x = 1;
}else{
x = 0;
}
}
thing thats useful:
var x = 0;
function toggleFrom0to1(){
x = 1-x;
}