結果 : how to check if javascript code is correct