JavaScript 错误参考

下面,你将找到 JavaScript 引发的错误列表。这些错误可能有助于调试,但报告的问题并不总是立即清楚。以下页面将提供有关这些错误的更多详细信息。每个错误都是一个基于 Error 对象的对象,并且具有 namemessage

¥Below, you'll find a list of errors which are thrown by JavaScript. These errors can be a helpful debugging aid, but the reported problem isn't always immediately clear. The pages below will provide additional details about these errors. Each error is an object based upon the Error object, and has a name and a message.

Web 控制台中显示的错误可能包含指向下面相应页面的链接,以帮助你快速理解代码中的问题。

¥Errors displayed in the Web console may include a link to the corresponding page below to help you quickly comprehend the problem in your code.

有关修复 JavaScript 错误的初学者入门教程,请参阅 什么地方出了错?JavaScript 疑难解答

¥For a beginner's introductory tutorial on fixing JavaScript errors, see What went wrong? Troubleshooting JavaScript.

错误列表

¥List of errors

在此列表中,每个页面均按名称(错误类型)和消息(更详细的人类可读错误消息)列出。这两个属性共同提供了理解和解决错误的起点。欲了解更多信息,请点击以下链接!

¥In this list, each page is listed by name (the type of error) and message (a more detailed human-readable error message). Together, these two properties provide a starting point toward understanding and resolving the error. For more information, follow the links below!