Posts by André • 73 points
2 posts
-
4
votes1
answer179
viewsQ: Problem with boolean checks in Javascript
var a = '0'; if (!a) console.log('false'); if (a == false) console.log('false 2'); Why the false is not displayed but the false 2 is?
-
3
votes2
answers122
viewsQ: Server side timer, huh?
I am making a game of questions in PHP, the user will have 15 seconds to answer each question, how to prevent the user to change the timer via inspect element and add seconds? Just adding details,…