Home >Web Front-end >JS Tutorial >Summary of js error checking process_javascript skills

Summary of js error checking process_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:53:511074browse

Generalization is for better understanding. Inspired by the jQuery "Discussion" (http://docs.jquery.com/Discussion) page, my colleagues usually come to me to help solve problems when they have problems. They are usually very small problems. In this case, it is not that they lack the knowledge to solve the problem. , but need to find a solution to the problem. People are always willing to help, and having a good error checking process can filter out many simple and small problems^^.

1. Make sure your page element tags are valid

2. Use debugging tools (for example: Firebug) to see if there are exceptions

3. Reference files or Whether dependent modules or methods are valid

4. Reduce to the minimum test cases (keep deleted things until the problem disappears, etc.)

5. Keep the problem description as concise as possible and keep necessary details

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn