Javascript

Immutable Arrays and Objects in JavaScript

There has been an explosion of popularity of libraries like Redux and NGRX. One common requirement they have is an immutable state. The...

May 21 · 5 min read >

Check if string starts with specific characters

Like all things JavaScript, there are many ways to accomplish the same task. Here we’ll dive into the various...

May 20 · 3 min read >

Splitting a string into multiple lines in Javascript

“wordwrap” for JavaScript Another version: It takes three arguments: The string to be wrapped. The column width (a number,...

May 19 · 58 sec read >

JavaScript Recursive Function

A recursive function is a function that calls itself until it doesn’t. And this technique is called recursion. The three key...

May 15 · 3 min read >

The modern mode, “use strict”

For a long time, JavaScript evolved without compatibility issues. New features were added to the language while old functionality...

May 11 · 1 min read >

Code Structure

The first thing we’ll study is the building blocks of code. Statements Statements are syntax constructs and commands that...

May 11 · 1 min read >

Hello world!

This part of the tutorial is about core JavaScript, the language itself. But we need a working environment to...

May 11 · 2 min read >