62
rated 0 times
[
69]
[
7]
/ answers: 1 / hits: 9686
/ 10 Years ago, fri, may 23, 2014, 12:00:00
I'm just trying to figure out why this code isn't working.
var programming = false;
var happy = function() {
if(programming === true) {
happy = false;
}
else {
happy = true
}
};
or my secondary code
var programming = false;
var happy = function() {
if(programming === true) {
happy = false;
}
if(programming) {
happy = true;
}
};
More From » function