(function(){})?1:0 should == 1 (fix #261)