Quiz question answer didn't seem right?

The test after the if else lesson on question 2 it think said; What code executed - if(false){alert(“true!”)
Is said “true!” . I got that wrong. why?