Blog

An Array of JavaScript Array Tricks

Utah_array_pat5215088

Table of Contents: Avoiding the Index Prepositional Soup: From In to Of The Joy of Higher Order Functions How Do Your Arrays Stack Up? Pop! It is no real surprise that one of the primary purposes of computer languages is processing lists (indeed, one of the oldest programming languages – Lisp – is a contraction of the term “list processing”). In Javascript, lists are managed with the Array object. The last few years has seen a significant beefing up of what arrays can do as part of the EcmaScript 6 development, to the extent that even many programmers aren’t aware of the full capabilities that arrays offer. The following is a mixed bag of tricks, focusing both on some of the cooler ES6 code, some on the more esoteric functional programming tricks of ES5. One thing that both of these...

Read more

angular.bootstrap Explained in 3 Examples

By default, an Angular application is initialized automatically by loading the angular.js… Read more

Insert, Remove, and Replace elements with Array.splice()

When you already have an existing array and need to make some… Read more

Learn JavaScript Basics (Free Course) Part 2/6: Basic Features

Variables Variables are a means for holding on to or pointing to… Read more

Learn JavaScript Basics (Free Course) Part 1/6: Overview and Setup

What is this Course? This course is intended to be a beginner’s… Read more

Unit conversion with javascript Array.map()

This tutorial will demonstrate how to convert units of measurement with the… Read more

JavaScript Redirect: How to Redirect a Web Page with JavaScript

You can redirect a web page to another page in a number… Read more

CSS !important Rule: How to Use It Correctly

The CSS !important rule approaches us like a fake savior angel in… Read more

5 Examples to Help You Understand How CSS Opacity Works

You can control the transparency of HTML elements on a web page… Read more

CSS Class vs ID: Which One to Use

In this post, we will take a brief look at how classes… Read more