Debugging Your JavaScript Programs
•Three types of errors:
–Load-time errors (occurs when the script is loading)
–Run-time errors (occurs when the being executed)
–Logical errors (free from syntax and structural mistakes, but result in incorrect results)