結果 : javascript check if function is not undefined