Learning how to nest a conditional within a conditional in WebStorm