Getting started with Aurelia in Visual Studio Code

An alternative and possibly simpler approach to getting set up and using Aurelia. The previous approach can be found at the following link https://www.technical-recipes.com/2019/getting-started-with-aurelia-js/ Prerequisites The Aurelia CLI has a pre-requisite, Node.js. Get it from here: https://nodejs.dev/download/ In Visual Studio Code press Ctrl + P and type the following command: Still in Visual Studio Code, …

Continue reading ‘Getting started with Aurelia in Visual Studio Code’ »

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

Useful links: https://code.tutsplus.com/tutorials/how-to-use-map-filter-reduce-in-javascript–cms-26209 https://medium.com/poka-techblog/simplify-your-javascript-use-map-reduce-and-filter-bd02c593cc2d To summarize: map Creates a new array by transforming every element in an array, individually. filter Creates a new array by removing elements that don’t belong. reduce Takes all of the elements in an array, and reduces them into a single value. reduce method executes a provided function for each value …

Continue reading ‘Using .map(), .reduce() and .filter() in JavaScript’ »