Issue while using switch statement with numbers ranges in JavaScript
I've been trying to create a code in JavaScript using the switch statement to calculate the income tax for Brazilian residents. I know I can do that using if-else, which I already did and worked perfectly. However, I want to…