Tagged Template Literals

Tagged Template Literals

One feature that comes along with template literals, or template strings, is the ability to tag them.

Easy Creation of HTML with JavaScript’s Template Strings

Easy Creation of HTML with JavaScript’s Template Strings

Another feature of template literals or template strings is the ability have multi-line strings without any funny business.

An Intro to Template Strings

An Intro to Template Strings

In JavaScript, when you want to put a variable inside of a string, it's a pain in the ass because you have to stop your string, concatenate...

JavaScript Default Function Arguments

JavaScript Default Function Arguments

Default function arguments in JavaScript are here. This is one of those features that's going to make your life much easier, and make your...

JavaScript Arrow Functions and this scoping

JavaScript Arrow Functions and this scoping

We've learned about the concise syntax of arrow functions. We've learned about the implicit return of arrow functions. The last thing we're...

When Not to use an Arrow Function

When Not to use an Arrow Function

Before you start going absolutely bananas on using arrow functions everywhere, we need to chat. Arrow functions don't replace regular...

More Arrow Function Examples

More Arrow Function Examples

Let's look at a couple more JavaScript arrow function examples.

JavaScript Arrow Functions Introduction

JavaScript Arrow Functions Introduction

ES6 has introduced arrow functions which have three main benefits. First, they have a concise syntax. Secondly, they have implicit returns,...

Is var Dead? What should I use?

Is var Dead? What should I use?

We've learned about let and const — what they do, and how they're scoped. We also know when they can be reassigned and when they cannot,...