javascript-300x120

When to use ES5 Var vs. ES6 Let

There is an important distinction to be made between let and var. Both of these statements allow the developer to declare a variable. Let was introduced in Javascript ES6. Before we explore the merits of using let over var, it’s helpful to know the functionality and limitations of var. Var Functionality JavaScript was created in […]

javascript-300x120

Using JavaScript ASync Functions

Async stands for asynchronous and it is (aptly) the opposite of synchronous programming. To get a better grasp on Async functions, you need to first fully understand synchronous code. Simply put, synchronous code means “many statements in a sequence”. Each statement is executed one after the other. This also means that a statement has to […]

00-featured-vuejs-logo-simple-320x200

A Friendly Introduction to Vue.js

“Vue (pronounced /vjuː/, like view) is a progressive framework for building user interfaces…The core library is focused on the view layer only, and is very easy to pick up.” If you already know HTML, CSS, and JavaScript, then picking up Vue is a breeze! In the following article, I’ll show you how to get up […]

javascript-300x120

What is Isomorphic JavaScript and What Can it Help With?

When a user opens their favorite webpage or application, there is a great deal of things that happen in the background. The browser and server go to work sending requests, parsing and rendering to provide a webpage to the user within seconds. Some developers choose to render their webpages server side while others opt for […]

javascript-300x120

Avoiding Memory Leaks in JavaScript

Memory management Efficient memory management is a crucial part of any coding practice. When memory management is poor, memory leaks are created which slows down performance and causes crashes. A memory leak occurs when a section of memory that is no longer being used is still being occupied needlessly instead of being returned to the […]

javascript-300x120

Finding the Most Frequent String in a JavaScript Array

In the following tutorial, I’ll show you how to write a function that takes an array of strings and returns the most frequent string(s) in that array. First I’ll go through the basic concepts and setup, we’ll test it to make sure it works, then I’ll explore a few ways in which you can handle […]

javascript-300x120

ES6 Modules: Use Cases and Examples

Modules are an important part of any programming language. All prior JavaScript versions have lacked this feature. But that did not stop the community from creating their own modularized code. ECMAScript 2015 (ES6) has finally introduced modules as a fully realized function into JavaScript. Modules are now fully naturalized citizens of the JavaScript programming language. […]

javascript-300x120

How to Work with Private Methods in JavaScript?

JavaScript is primarily a language based around objects. Arrays and functions are both objects. Methods are actions that objects can perform. In order to understand how to work with private methods in JavaScript you need to know these fundamentals. Objects are filled with values of data types like strings, numbers and booleans. When values become […]

javascript-300x120

What Is the Instanceof Operator in JavaScript?

The instanceof is an important operator the checks a pre-existing and defined value then returns true if the object is its specified object type, or false if it isn’t. A basic example can be best shown through the following:

The instanceof operator is self explanatory at this point. The second variable is not defined […]

photo-1455636820250-908db9925403-1

Mapping Colorado’s 14er Mountains: React and Redux Mega Tutorial

appendTo is based out of Colorado, a US state famous for the quantity and size of its mountains. 53 mountains over 14,000 feet (4267.2 meters) are located in Colorado’s borders. During the summer, many Colorado residents make it a mission to climb as many of these ’14ers’ as they can. In this React and Redux […]