Category Archives: JavaScript

JavaScript Error Handling

JavaScript Errors – SyntaxError: unterminated string literal

Moving along through our JavaScript Error Handling series, today we’ll take a closer look at the Unterminated String Literal SyntaxError. JavaScript requires that string literals be enclosed in quotations, whether that be single (‘) or double (“) quotes. The Unterminated String Literal error is thrown when when a string is… continue reading →

JavaScript Error Handling

JavaScript Errors – SyntaxError: test for equality mistyped as assignment?

Making our way through the wonders of the JavaScript Error Handling series, today we’ll explore the Equality Mistyped as Assignment SyntaxError. The Equality Mistyped as Assignment error is thrown when an attempt is made to declare an assignment of a variable, where the parsing engine believes the intention was an… continue reading →