結果 : how to check not defined in javascript