Switch statements in JavaScript have a behavior called fall-through which can cause unexpected results. I will explain what this behavior is, how to avoid it, and use cases for it. Switch statements allow you to create conditional statements in JavaScript. You have a conditional expression, and depending on the returned
from freeCodeCamp.org https://ift.tt/54qml0j
via IFTTT https://ift.tt/MLvlQs0
Social Plugin