var $val = 1, tst = !!('179'.indexOf(''+$val)+1); alert(tst)
var i=$val = 1; var y = (9-i)*(7-i)*(1-i); alert(!y)