JavaScript एररगंभीर
InternalError: too much recursionInternalError: too much recursion
Firefox-specific error जो Chrome/Node.js में RangeError: Maximum call stack size exceeded के समकक्ष है।
browser
विवरण देखें ReferenceErrorकिसी ऐसे variable का reference किया गया जो current scope में मौजूद नहीं है।
आपने किसी ऐसे variable को उपयोग करने की कोशिश की जो declare नहीं हुआ, scope में नहीं है, या declaration से पहले access किया गया (temporal dead zone)। यह गलत spelled variable names से भी हो सकता है।
Variable को उपयोग से पहले let, const, या var से declare करें। Variable names में typos जाँचें। सुनिश्चित करें कि variable उस scope में accessible हो जहाँ आप उसे access कर रहे हैं। Missing modules import करें।
console.log(undeclaredVar); // ReferenceError: undeclaredVar is not definedInternalError: too much recursionFirefox-specific error जो Chrome/Node.js में RangeError: Maximum call stack size exceeded के समकक्ष है।
EHOSTUNREACHलक्ष्य host अनुपलब्ध है, सामान्यतः नेटवर्क routing समस्याओं के कारण।
URIErrorकिसी global URI handling function (decodeURIComponent, encodeURI) को malformed URI मिला।
SyntaxError: Applying delete to unqualified name in strict modestrict mode में delete ऑपरेटर को सामान्य वेरिएबल नाम पर उपयोग किया गया, जो अनुमत नहीं है।
SyntaxError: Unterminated string literalकिसी string literal में बंद करने वाला quote गायब है।
SyntaxError: JSON.parse unexpected characterJSON.parse() को invalid JSON syntax मिला, जैसे single quotes, trailing commas, या unquoted keys।