How to get rid of your messy code.

added by JavaScript Kicks
9/13/2019 7:44:09 AM

442 Views

First of all, there was a lot of if statements that decided to sweep away.We can do that by setting JSON object with all the cases that you want to check, So let's say we want to check if the first letter was "م" and the second letter is either "ح" or "خ" we can say.


0 comments