mattpointblank’s avatarmattpointblank’s Twitter Archive—№ 21,686

    1. …in reply to @MattATL21
      @MattATL21 You're very close - basically the second bit of your if statement needs to repeat the conditional, eg. if (name === "Matt" || name === "Bob") { Your code right now is always returning "hola" because the part after the "or" isn't a condition, it's just a single string (eg. true)
  1. …in reply to @mattpointblank
    @MattATL21 eg. it really means this: if (person == "juan" || true) so the presence of "true" means the first condition will always match
    1. …in reply to @mattpointblank