結果 : how to ignore undefined variable error in javascript