0
Not sure why the if statement always takes the condition as False, even if its true
4 Respuestas
+ 1
Also I would advise you to use Equals instead of ==. If you want to know more about the difference you can read this: https://www.tutorialspoint.com/difference-between-and-equals-method-in-chash
+ 1
You don't want to see if the name is "jake", you want to see if the value is "jake". You just need to change name to value on the condition.
+ 1
You are checking existing setted value, not setting value.
Use
if ( value == "jake")
+ 1
Ohh thank you guys! Cleared the fog