Author: Andy

Using .map(), .reduce() and .filter() in JavaScript

Useful links: https://code.tutsplus.com/tutorials/how-to-use-map-filter-reduce-in-javascript–cms-26209https://medium.com/poka-techblog/simplify-your-javascript-use-map-reduce-and-filter-bd02c593cc2dTo summarize:mapCreates a new array by transforming every element in an array, individually. filter Creates a new array by removing elements that don’t belong. reduceTakes all of the …

My Aurelia cheat sheet

A collection for Aurelia / typescript / javascript as and when I encounter them.For a post on getting set up with Aurelia JS see this post:https://www.technical-recipes.com/2019/getting-started-with-aurelia-js/ https://www.technical-recipes.com/2019/getting-started-with-aurelia-js-part-2/1. Hello World!app.jsapp.htmlGiving the …