Ten JavaScript #221 — Closures, Array functions, event delegation, and more

TENJAVASCRIPT #221

Know someone who might benefit from this email? Forward it! Newbies, subscribe here.

What the fuck is a closure?

By the time most people approach closures, they have already used them unknowingly many times — and it is likely that this is true for yourself, too. So learning closures is less about understanding a new concept and more about recognizing something you have already been doing for a while.

#Concepts

Array Functions and the Rule of Least Power – Pursuit of Laziness

It's therefore interesting that some people say say that the 'functional' array functions like .filter, .map, and .reduce are powerful compared to their crude for-loop alternatives. I would say the opposite: they are far less powerful, and that's the point.

#Functional #Concepts

A Simple Explanation of Event Delegation in JavaScript

The event delegation is an useful pattern to listen for events on multiple elements using just one event handler.

#Concepts

Animated Navigation with Vue - YouTube

Animated navigation with Vue JS. Are you looking for a way to build and animate fancy navigations with Vue JS? Today I'm going to show you how you can build this awesome animated navigation. The entire content is reduced and moved to the right side when you open the navigation.

#Video #Vue

Generating UUIDs at scale on the Web

Is it possible to generate a billion unique identifiers per day in the browser? At Teads, we have tried, and the answer is yes - if you ignore bots and bugs. This article describes the experiments we've run and the discoveries we made along the way.

#Approach

The traversal order of object properties in ES6

The ECMAScript 6 specification defines in which order the properties of an object should be traversed. This blog post explains the details.

#Concepts

Web Monetization · A JavaScript browser API which allows the creation of a payment stream from the user agent to the website

The ability to transfer money has been a long-standing omission from the web platform. As a result, the web suffers from a flood of advertising and corrupt business models. Web Monetization provides an open, native, efficient, and automatic way to compensate creators, pay for API calls, and support crucial web infrastructure.

#WebAPI

A look at React Router 6

The release of React router version 6 is just around the corner. I thought it was time to take a good look at it …

#React

Next.js: Server-side Rendering vs. Static Generation – Vercel

Next.js is a React framework that supports pre-rendering. Instead of having the browser render everything from scratch, Next.js can serve pre-rendered HTML in two different ways.

#Server-side

Protecting Your API from Brute Forcing By Rate Limiting in NodeJS

Brute forcing is the most common cybersecurity attack. To avoid facing downtime and potentially leaking user credentials, rate limiting should be implemented on every public-facing API.

#Server-side #Security

📺 Strict Mode Screencasts

JS-focused screencast series. Videos come up every week exploring and explaining JavaScript language features, libraries, frameworks, and sometimes even entirely new programming languages for the Web. Find the latest issue here. — I.

Don't want to receive emails like this? Unsubscribe.


unsubscribe

Older messages

Ten JavaScript #220 — Debounce explained, generators, and more

Friday, July 10, 2020

TENJAVASCRIPT #220 Know someone who might benefit from this email? Forward it! Newbies, subscribe here. Debounce Explained – How to Make Your JavaScript Wait For Your User To Finish Typing The most

Ten JavaScript #219 — TypeScript 4, New Chrome DevTools, and more

Friday, June 26, 2020

TENJAVASCRIPT #219 Know someone who might benefit from this email? Forward it! Newbies, subscribe here. What's coming in TypeScript 4? TypeScript 4 is coming up fast: a first beta release is

Ten JavaScript #218 — Bootstrap 5, GitHub Actions auto deployment, and more

Friday, June 19, 2020

TENJAVASCRIPT #218 Know someone who might like this email? Forward it! Newbies, you can always subscribe here. 1. Bootstrap version 5 alpha is officially here! What's new? The first alpha version

Ten JavaScript #217 — Brief History of JS, generative art, and more

Friday, June 12, 2020

TENJAVASCRIPT #217 Know someone who might like this email? Forward it! Newbies, you can always subscribe here. 1. How to Use Recursive Components in React to Display Deeply Nested Data I'm sure you

Ten JavaScript #216 — Making Vue 3, Microsoft improving PWA, and more

Friday, May 29, 2020

TENJAVASCRIPT #216 Know someone who might like this email? Forward it! Newbies, you can always subscribe here. 1. The process: Making Vue 3 Over the past year, the Vue team has been working on the next

You Might Also Like

Daily Coding Problem: Problem #1707 [Medium]

Monday, March 3, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. In chess, the Elo rating system is used to calculate player strengths based on

Simplification Takes Courage & Perplexity introduces Comet

Monday, March 3, 2025

Elicit raises $22M Series A, Perplexity is working on an AI-powered browser, developing taste, and more in this week's issue of Creativerly. Creativerly Simplification Takes Courage &

Mapped | Which Countries Are Perceived as the Most Corrupt? 🌎

Monday, March 3, 2025

In this map, we visualize the Corruption Perceptions Index Score for countries around the world. View Online | Subscribe | Download Our App Presented by: Stay current on the latest money news that

The new tablet to beat

Monday, March 3, 2025

5 top MWC products; iPhone 16e hands-on📱; Solar-powered laptop -- ZDNET ZDNET Tech Today - US March 3, 2025 TCL Nxtpaper 11 tablet at CES The tablet that replaced my Kindle and iPad is finally getting

Import AI 402: Why NVIDIA beats AMD: vending machines vs superintelligence; harder BIG-Bench

Monday, March 3, 2025

What will machines name their first discoveries? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

GCP Newsletter #440

Monday, March 3, 2025

Welcome to issue #440 March 3rd, 2025 News LLM Official Blog Vertex AI Evaluate gen AI models with Vertex AI evaluation service and LLM comparator - Vertex AI evaluation service and LLM Comparator are

Apple Should Swap Out Siri with ChatGPT

Monday, March 3, 2025

Not forever, but for now. Until a new, better Siri is actually ready to roll — which may be *years* away... Apple Should Swap Out Siri with ChatGPT Not forever, but for now. Until a new, better Siri is

⚡ THN Weekly Recap: Alerts on Zero-Day Exploits, AI Breaches, and Crypto Heists

Monday, March 3, 2025

Get exclusive insights on cyber attacks—including expert analysis on zero-day exploits, AI breaches, and crypto hacks—in our free newsletter. ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

⚙️ AI price war

Monday, March 3, 2025

Plus: The reality of LLM 'research' ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 03/03/2025

Monday, March 3, 2025

New blogs from Syncfusion ® AI-Driven Natural Language Filtering in WPF DataGrid for Smarter Data Processing By Susmitha Sundar This blog explains how to add AI-driven natural language filtering in the