javascript - how to prevent the else block to get run if "if block ...

javascript - how to prevent the else block to get run if "if block ...

More to explore

Based on this image's title: “javascript - how to prevent the else block to get run if "if block ...