how to avoid multiple if else in javascript

how to avoid multiple if else in javascript

how to avoid multiple if else in javascript. There are any references about how to avoid multiple if else in javascript in here. you can look below.

Showing posts matching the search for how to avoid multiple if else in javascript