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

Scoop: Tiger Global-backed Innovaccer in talks to raise $250M

Wednesday, May 1, 2024

Plus: An update on Google's layoffs and the social platform X didn't see coming View this email online in your browser By Christine Hall Wednesday, May 1, 2024 Welcome to TechCrunch PM. Today,

🖥️ Why I'm Never Going Back to a Windows PC — Tips Before You Buy a Smart Ring

Wednesday, May 1, 2024

Also: How to Clear the Moisture Detected Warning on Samsung Phones, and More How-To Geek Logo May 1, 2024 Did You Know A single 1 oz shot of espresso only has approximately 40 mg of caffeine, whereas a

Daily Coding Problem: Problem #1428 [Hard]

Wednesday, May 1, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Given an array of positive integers, divide the array into two subsets such

Top Tech Deals 👀 Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More

Wednesday, May 1, 2024

Get a discounted M3 MacBook Air or expand your Xbox storage. How-To Geek Logo May 1, 2024 Top Tech Deals: Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More Get a discounted M3 MacBook Air or

Infographic | Visualizing Global Gold Production in 2023 🏅

Wednesday, May 1, 2024

Gold production in 2023 was led by China, Australia, and Russia, with each outputting over 300 tonnes. View Online | Subscribe Presented by: Access European benchmarks with a trusted 25-year history

⚙️ GPT-5 may be releasing sooner than expected

Wednesday, May 1, 2024

Plus: Amazon rebrands AI branch ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Noonification: How to Create a CI/CD Pipeline Using GitHub and AWS EC2

Wednesday, May 1, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 1, 2024? The HackerNoon Newsletter brings the HackerNoon

Arc for Windows is better than Chrome

Wednesday, May 1, 2024

Adobe bug bounty; Rabbit's first R1 software update; Dream podcaster mic -- ZDNET ZDNET Tech Today - US May 1, 2024 placeholder Arc browser is now available for Windows and it's so much better

Is TikTok trying to get banned from the App Store early?

Wednesday, May 1, 2024

TikTok is offering some users a way to buy its in-app tipping tokens outside of Apple's App Store. View this email online in your browser By Alex Wilhelm Wednesday, May 1, 2024 Good morning, and

Get Compliant in 2024 - Download Ultimate PAM Policy Template Today

Wednesday, May 1, 2024

Privileged Access Management Policy Template What are your PAM policies for 2024? Get ready for the New Year Is your approach to Privileged Access Management as current and effective as it could be? In