Ternary and Relational Operators used in expression in WebStorm