結果 : if function returns true js