Hi, I'm Bolaji.

I write articles on web and frontend development.

About Me →

Object.freeze() vs Const

ES6 has brought several new features and methods into JavaScript since its release. These features have better improved our workflow and productivity as JavaScript developers. Amongst these new features are Object.freeze() method and const . It is argued among a few developers especially newbies that these two feature works the same way, but NO it doesn’t. Object.freeze() and const work differently. Let me show you how! const and Object.freeze() are totally different.

Iterating through JavaScript Objects  -  5 Techniques and Performance Tests.

Developers tend to know how to iterate through JavaScript Arrays easily but most times they tend to get confused while working with JavaScript Objects especially beginners and intermediates. In this article, I’d show you Five (5) different ways of iterating through JavaScript Objects and some performance comparison tests to show you which is faster and more efficient. * Useful tips :) Property flags Object properties, besides a value, have three special attributes (also known as “flags”):

Introduction to Babel and JavaScript Bundlers

As earlier stated in my previous article ES6 modules is a very powerful concept. Although support is not available everywhere yet, a common way of using it is to transpile into ES5. You can use Grunt, Gulp, Webpack, Babel or some other transpiler to compile the modules during a build process. In this article, I’d guide through an introduction to transpiling ES6 with babel and bundling your modules with Browserify.

Introduction to ES6 modules

An essential aspect of software engineering is efficiency. Every successful app needs a solid architectural structure that allows it to scale at all levels without breaking. In respect to this, several techniques and patterns are engaged to ensure code efficiency. In this article, I would introduce you to ES6 modules, what they are, how to use them and why you should care {0[]0} What exactly is a module? In JavaScript, the word “modules” refers to small units of independent, reusable code.

Manipulating Arrays in JavaScript

Arrays have become an important part of any programming language. Most times we need to do several operations on arrays, hence this article. In this article, I would show you various methods of manipulating arrays in JavaScript [^^] What are Arrays in JavaScript? Before we proceed, you need to understand what arrays really mean. In JavaScript, an array is a variable that is used to store different data types.

Introduction to JavaScript Switch Cases

In this short article, I will introduce you to JavaScript switch cases and how to use them with practical examples. PS: This article is not for those without any JavaScript knowledge, it is expected that you’re taking some tutorial or course and you just got to the switch cases section. This article will explain better with more practical examples to help you understand switch cases in depth. Prerequisites. Basic JavaScript knowledge Code editor Web Browser Your brain :) A switch statement can basically replace multiple if checks in JavaScript.