Multi-Tasking
There are times in programming where you need to check conditions against multiple items. If statements are used to do this a lot. We could do this by nesting if statements and performing the code if they return true as follows… if(this === that){ if(who === what){ doSomething(); } } While this works, nesting can […]