Spot on! fruit
has the value "banana"
, which means that fruit == "banana"
is true
and the code block with that condition will be executed.
Yikes! fruit
has the value "banana"
, which means that fruit == "banana"
is true
and the code block with that condition will be executed.