Javascript – How to automate a series of similar IF statements
I have a series of IF statements that I think should be automated into a shorter piece of code but I'm not sure how to go about doing it. Here's an example of the code: var supplier_kw_per_rack = 2; if…