結果 : javascript if function not defined