Webolution Designs

Clay Hess

Full Stack designer & developer

Arrow Functions

Traditionally, functions are defined in JavaScript by using the “function” keyword. In ES2015, arrow functions were introduced. For C# folks, this will look similar to lambdas. Let’s first look at a traditional function syntax… The output would be “Bongo”. Let’s change the syntax to using arrow function syntax… This would

More »


Bind allows us to copy a function. Why would we want to do this? By copying it, we change the context of “this” for the entire new function. Here is an example… The output would be “George”. This was possible because we used bind to copy the original function to

More »


The “apply” method to run a function is similar to “call”. The difference is that with “apply”, we can pass arguments to the function for the new context. Here is an example… Notice that here we are passing an array of arguments. In this case, it is a simple string.

More »


There are some different ways to run a function rather than the traditional way. One of them is by using “call”. The advantages of “call” is it changes the scope of “this”. Here is an example… The output would be “George”. By using “call” and passing new data, we are

More »

This Keyword

In JavaScript functions, you will see the special “this” keyword used. Let’s see it in an example… The “this” keyword refers to the object itself. You will see this in object function properties often. Happy Coding! Clay Hess

More »


When a function runs, it goes through its code, then completes. Everything goes out of scope. There are times when we might want some information to “hang around”. Let’s start by looking at an example… Within our IIFE, we have a variable (animalName). We also have a nested function that

More »
Excuse Our Mess! We are currently remodeling!

We are currently in the process of redesigning our site. We appreciate your patience as some areas of our site show chipping and paint peeling. We hope to have it sparkling soon!


Learn how we helped 100 top brands gain success.

Let's have a chat