Skip to main content

40 docs tagged with "js"

View All Tags

Build

SPACE BATTLE JS GAME

JavaScript: `this`

The keyword this in JavaScript can be a major point of a confusion and a

Promises

JavaScript is single threaded. This means that two bits of script cannot run at the same time; they have to run one after another. However, there are times that code needs to run asynchronously. In order to achieve this ES6 introduced the Promise class which has now become a key underlying feature used in many of the tools we've become accustomed to using to perform everyday tasks such as making API calls or updating database entries.

Warm Up

Let's take 10 - 15 minutes to write a function that capitalizes a word