JavaScript Tutorials

How to Use the JavaScript += Operator

A plus sign and an equals sign together? Is that a typo? In JavaScript, a plus and an equals sign side-by-side has its own meaning. It is the JavaScript addition assignment operator. In this tutorial, we’re going to talk about…

JavaScript Spread Operator: A Guide

The spread operator. No, it’s got nothing to do with toast. In JavaScript, the spread operator has a specific meaning: it’s a way to access the contents of an iterable object. While this may not sound as fun as pasting…

JavaScript Trim: A Step-By-Step Guide

The JavaScript trim() method removes whitespace characters from the beginning and end of a string. The trimLeft() and trimStart() methods trim whitespace characters from the beginning of a string, while trimRight() and trimEnd() trim whitespaces from the end of a…

JavaScript Copy Array: A Guide

In JavaScript, copying an array is not as simple as using the assignment operator (=) to create a duplicate. If you’ve ever tried this, you will be surprised to find out that it only creates a link to the original…

JavaScript Timestamp: A Step-By-Step Guide

To get a JavaScript timestamp format can be achieved using the Date() object, which holds the current time in a readable timestamp format. You can also create new Date() objects with different timestamps, and get the current Unix time using…

JavaScript: Object.values()

There are several ways to access various parts of an object. The Object.values method exists to grab only the values from an object, pushes them into an array, and returns that array.  The Syntax The values method takes in the…

JavaScript Operators: Comparison and Equality

We first encountered operators when we were children learning arithmetic in elementary school. Operators are the symbols in between two operands. In web development, we use operators to compare two values to determine if an expression is true or false.…

JavaScript Modulo: A Guide

How to Use the JavaScript Modulo Operator Have you ever seen a percentage sign accompanied by a few numbers in JavaScript? You’ve maybe thought that it is something to do with calculating percentages. That’s not the case. In JavaScript, the…

JavaScript Booleans: A Guide

How to Use JavaScript Booleans True or false values are everywhere in programming. We call these values Booleans. They can be used to compare two or more values and control what parts of a program should run. In this guide,…

this JavaScript: Understand This Once And For All

Understanding JavaScript this keyword If you want to become a programmer, no matter which specific field you choose, you will almost certainly need to tackle JavaScript. It has evolved from humble beginnings into a true powerhouse. It now covers front…

Get matched modal

Find the best bootcamp for you

Our matching algorithm will connect you to job training programs that match your schedule, finances, and skill level.