Pshhh, what does jshint know? :P 

OK, stick with the if but I would still store it first.