Refactor: Avoid `if` → `else if` → … for compare operators When trying to match one of compare operator key inside `if()` condition, remember the index of matched operator. Later this index used to select the operation to perform instead of strings compare again.