Javascript Programming Javascript Shorthand Coding Techniques In this blog post, I have compiled some helpful javascript shorthand coding techniques. Javascript shorthands are good coding techniques that can help programmers optimize and simplify their javascript codes. 1. If Presence At a point in our code, we need to check if a variable is present or not. The if present shorthand helps you […] Written by Clemence Ayekple January 26, 2020August 2, 2020
Frontend Javascript Javascript ES6 Array and Object Destructuring Array and Object Destructuring There are two most used data structures in javascript; array and object. Array and object destructuring is a significant feature in javascript ES6. ES6 Array Destructuring Usually, to access an item in an array, you would have to access the items via their indexes as shown below. However, you might want […] Written by Clemence Ayekple January 19, 2020August 3, 2020
Javascript Colorize Terminal Output Nodejs Most developers today work with the terminal. It can be fun and extremely helpful to colorize the terminal output. I have seen a couple of articles using ANSI escape codes to colorize the console output. The module colors.js and chalk are available on npm. These packages provide extremely easy to use wrappers that make colorizing […] Written by Clemence Ayekple January 8, 2020January 8, 2020