Category Archives: JavaScript

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 →

JavaScript Error Handling

JavaScript Error Handling – SyntaxError: “x” is not a legal ECMA-262 octal constant

Continuing right along through our JavaScript Error Handling series, today we’ll be taking a closer look at the Invalid Octal Constant warning. The Invalid Octal Constant warning is quite unique in the realm of all the JavaScript errors we’ve explored thus far, because it only appears in two very specific instances: when defining an octal literal value of 08 or 09…. continue reading →

JavaScript Error Handling

JavaScript – ReferenceError: reference to undefined property “x”

Today, as we continue through the next thrilling segment in our JavaScript Error Handling series, we’re examining the Reference to Undefined Property error with a fine-toothed comb. The Reference to Undefined Property error can only appear when strict mode is enabled, and will occur when the code attempts to access an object property that simply doesn’t exist. Below… continue reading →

JavaScript Error Handling

JavaScript – ReferenceError: deprecated caller or arguments usage

Today as we progress through our JavaScript Error Handling series we’re going to take a dive into the Deprecated Caller/Deprecated Arguments error in all its magnificent glory. The Deprecated Caller/Deprecated Arguments error appears when code attempts to call one of two specific properties of a function while strict mode is enabled: Function.caller or Function.arguments. Below we’ll go over a few code… continue reading →

JavaScript Error Handling

JavaScript Error Handling – RangeError: repeat count must be less than infinity

Today as we plow ahead through our JavaScript Error Handling series we’re going to be tackling the Infinite Repeat Counterror. The Infinite Repeat Count error occurs during the use of the repeat() method of a String object in JavaScript, and specifically when the count parameter passed to that method is too large. Below we’ll take a look at a few specific… continue reading →