How to Remove an Object's Property in JavaScript Without Mutation

Hiiiiiii there, today I will be sharing a useful JavaScript Tip which you can use to avoid Mutation when dealing with objects. To mutate something is to change it; it is to alter its form. Deleting an Object’s property is Mutation Say you have a user object defined like this: const user = { firstName: 'John', lastName: 'Obajeti', gender: 'Male', password: 'safest' } Assuming you need to send this object as part of an API Response, you will want to remove the password field. You can do this by using the delete keyword: ...

March 11, 2022

From Web 1.0 to Web 3.0: A Brief History of the Evolution of the Web

If you have been in the tech space for some time, you must have probably heard about Web 3.0 and how it’s different and ‘better’ than Web 2.0. But if you are just interested in downloading memes on the internet and doing your work, you might wonder what the hell everyone is talking about. In a previous article, I explained how the protocol that powers the Web has evolved. In this article, I will be providing an overview of the evolution of the Web itself. ...

March 10, 2022

Why Do We Need Strict Mode in JavaScript?

If you have been in the Web Tech space for some time, you are most likely familiar with the banter JavaScript gets. It seems to be the most ‘mocked’ programming language yet a lot of people use it. The reason for this banter is not far-fetched, in many ways JavaScript can be surprising. Some actions that will break programs in other programming languages will run successfully in JavaScript. For example, every programming language has reserved words that should not be used as variable names and should not be overridden. An example is the undefined keyword in JavaScript, it’s a reserved keyword but the following code snippet will run without error in JavaScript: ...

March 9, 2022

A Brief History of HTTP for Web Developers

Let me tell you a secret. I have been interacting with the web for a very long time and I am still fascinated by it today. I used to be just a consumer of the web but now I build things for it too and it’s even more fascinating. How does it work? How can a website visit a URL and then display a web page? Since computers understand only ones and zeros, how then is it possible to upload my pictures and graphics on Instagram? ...

March 7, 2022

What Exactly is Node.js? (Keeping it awesomely simple)

Node.js has grown from it humble beginnings in 2009 to one of the most popular platforms for creating web applications. If you have been around web development for a while, you would have heard people say, ‘node is just javascript’. That’s true, to appreciate node.js, it would help to know what it came to solve and why it is used. Anatomy of a Web Application Image courtesy of Medium.com ...

January 4, 2020