Codedamn Javascript Logical Questions