Javascript debug

From LemonWiki共筆
Jump to navigation Jump to search

<< Testing: Javascript


Steps of troubleshooting

  • Checking the typo or "ensure that there are no compile-time errors"[1] by using JSLint tools.
  • Verify the format of JSON file if the file was used by javascript by using JSONLint - The JSON Validator tools.
  • Disable the browser extension e.g. switch to incognito window on Chrome  
  • Clear or disable the browser cache[2]
  • Reload the webpage again
  • Switch to different network environment

methods / functions

Print message

DOM

Data type

Browser tool

Browser cache issue

tools


references