Javascript – Using a string within an If statement to change its comparison
I have a client software program and in it I have a variable, can be used as a string, split, etc, which I want to use within an if statement. So it may be A|B, in which case I want…