結果 : how to compare undefined value in javascript