Reduce array of objects to an object in JavaScript
May 17, 2022 — The other day when working with one of the applications, I needed to convert/reduce an array of objects to an object.
A blog on PHP, JavaScript, and more
May 17, 2022 — The other day when working with one of the applications, I needed to convert/reduce an array of objects to an object.
May 16, 2022 — Array unpacking is a sleek way of assigning the value of array elements to variables in one shot like so.
May 11, 2022 — GNOME is the official desktop environment that is been shipped with Ubuntu desktop versions for quite some time now.
May 9, 2022 — The other day, I was scrolling through my Twitter feed and I saw this tweet from Paco where he implemented what he calls “fuzzy reading mode” on his blog.
May 7, 2022 — A while back, I have written an article on how to convert arrays to human-readable lists in JavaScript. It’s a built-in feature using the Intl.ListFormat
object that lets you do that.
May 3, 2022 — Toggles are an integral part of a web application. Toggles usually have two states. Most of the time these would be of type boolean.
May 2, 2022 — A minor release for Laravel 9.x dropped a few days ago and among lots of new features and improvements, this release has introduced a new method called findOr
in the Eloquent Builder and Relations.
April 29, 2022 — When readonly properties were introduced in PHP 8.1, it has provided a legitimate way of making class properties truly “readonly”.
April 27, 2022 — When you’re working on the frontend side of the things of a website, one of the most common tasks is to render lists from arrays/objects.
April 24, 2022 — The latest version of PHP, PHP 8.1, has been around for quite some time and it comes packed with some great new features and enhancements.
Awesome Sponsors
Download my eBook
(Includes PHP 8.1 and 8.2)
Follow me everywhere