結果 : how to check syntax error in javascript