結果 : check not undefined in javascript