Category Archives: JavaScript

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 →

JavaScript Error Handling

JavaScript Errors – SyntaxError: redeclaration of formal parameter “x”

Continuing our journey through the JavaScript Error Handling series, today we’ll be tackling the Redeclaration of Formal Parameter JavaScript error. The Redeclaration of Formal Parameter error occurs when attempting to redeclare a function parameter, within the function body itself, by using the let assignment. In this article we’ll further explore… continue reading →

JavaScript Error Handling

JavaScript Error Handling – SyntaxError: missing } after property list

Today, as we move along through our JavaScript Error Handling series, we’ll be examining the Missing Brace After Property List JavaScript error. As the name implies, the Missing Brace After Property List error is another in the line of SyntaxErrors, which occurs specifically when initializing properties of an Object where… continue reading →

JavaScript Error Handling

JavaScript Error Handling – SyntaxError: missing ; before statement

As we march along through our JavaScript Error Handling series, today we’ll be parading our way through the Missing Semicolon Before Statement JavaScript error. As the name implies, the Missing Semicolon Before Statement error is typically thrown when a semicolon (;) was forgotten somewhere in the code. In this article… continue reading →

JavaScript Error Handling

JavaScript Error Handling: SyntaxError: missing ) after argument list

Continuing through our JavaScript Error Handling series, today we’ll be looking closely at the Missing Parenthesis After Argument List JavaScript error. The Missing Parenthesis After Argument List error can occur for a variety of reasons, but like most SyntaxErrors, it commonly pops up when there’s a typo, an operator is… continue reading →