Average of an arrayThis was code Wars kata problem. Here is the question: DESCRIPTION: Write a function that calculates the average of the numbers in a given list. Note: Empty arrays should return 0. Solution First, we have to determine the sum of the total elements in...Oct 2, 2023·2 min read
Functional programming in JavaScript.This is a one part series of more to come on the subject functional programming. JavaScript is a multi-paradigm language that allows you to freely mix and match object-oriented, procedural, and functional paradigms. Recently there has been a growing ...Dec 7, 2021·3 min read
Solving Codewars kata problem "Unique In Order"codewars kata with iterables in JavaScriptDec 6, 2021·2 min read
Solving Codewars kata "Simple Pig Latin"In this article, I will be showing you how to solve a Codewars kata that I have been struggling with. I learnt of the 'map object' while solving it. Here's the problem. Move the first letter of each word to the end of it, then add "ay" to the end ...Dec 3, 2021·2 min read
Introduction to Node.jsLet's build a simple introductory website that displays date and timeMar 12, 2021·8 min read