A guide to destructuring in JavaScript

By Chris Coyier on

I love those three little dots in JavaScript. Mat Marquis has a nice article covering them (“destructuring” as it were) nicely. And agreed there are plenty of times they can be confusing. What always gets me is that sometimes it is used to “pluck off” the remaining the values from an array or object (which […]

Oracle, it’s time to free JavaScript.

By Chris Coyier on

An open letter with a bunch of big names attached to it asking Oracle to give up the copyright on “JavaScript”. It is therefore time to take active steps in order to bring the JavaScript trademark into the public domain, where it belongs. It’s kinda weird, and only for historical acquisition reasons that they have […]

Third Party Scripts

By Chris Coyier on

Almost every site has at least one third-party script on it, and the average is 5. I’ve taken that from the blog post Introducing Nuxt Scripts from Harlan Wilton. While third-party scripts are a performance and security drain, they are, as Harlan puts it “fundamentally useful and aren’t going anywhere soon.” Typically, you just chuck […]

AI in Chrome

By Chris Coyier on

Chrome is experimentally shipping with Gemini Nano, their smallest Large Language Model (LLM) baked right in, then offer APIs to use it. In Chrome, these APIs are built to run inference against Gemini Nano with fine-tuning or an expert model. Designed to run locally on most modern devices, Gemini Nano is best for language-related use […]

CloseWatcher

By Chris Coyier on

I’m first hearing about the CloseWatcher API after running across Abdelrahman Awad’s blog post about it. The MDN docs are quite direct, making the purpose clear: Some UI components have “close behavior”, meaning that the component appears, and the user can close it when they are finished with it. For example: sidebars, popups, dialogs, or […]

$966,000

Frontend Masters donates to open source projects through thanks.dev and Open Collective, as well as donates to non-profits like The Last Mile, Annie Canons, and Vets Who Code.