3
I am trying to fix my solar panels but I need help to continue (javascript)
javakid999 (2)

Hello. I am trying to work on a mars colonization game but until this is fixed I don't think that I can continue. I want to make it so that the numberOfMachines variable to be less than or equal to the number of solar panels, or else the machines will not work, because of power shortage. Here is the link to the repl.it project https://repl.it/@javakid999/Colonize-Mars

Thanks in advance, Javakid999

You are viewing a single comment. View All
Answered by JustARatherRidi (185) [earned 5 cycles]
View Answer
1
heyitsmarcus (285)

@JustARatherRidi Ah, that is an interesting take on it and quite possibly why it was never implemented. Introducing falsey-ness to equality is just plain craziness! XD