JavaScript
32K subscribers
1.02K photos
9 videos
33 files
705 links
A resourceful newsletter featuring the latest and most important news, articles, books and updates in the world of #javascript πŸš€ Don't miss our Quizzes!

Let's chat: @nairihar
Download Telegram
CHALLENGE ❓


Number.prototype[Symbol.iterator] = function*() { yield *['a','b','c'] };
console.log([...1]);
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ€”12❀4πŸ‘3
πŸ‘2πŸ€”1
πŸ‘€ Component Party: A Rosetta Stone of UI Libraries

A long-standing comparison of many different frameworks (like React, Vue, Svelte, Angular, Qwik, Solid.js, etc.) by way of simple code snippets to perform various tasks. Now including Svelte 5 and Angular 17/Renaissance.

Mathieu Schimmerling
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘3πŸ”₯3
CHALLENGE ❓


console.log([…({ [Symbol.iterator]: function*(){ yield *[1, yield *[2,3] ] } })])
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘7πŸ”₯3❀1
πŸ‘10❀5πŸ€”4πŸ”₯2
✌️ JavaScript Import Attributes (ES2025) Explained

Import Attributes (now at stage 4 at TC39 and already supported in some runtimes) add a way to supply useful metadata about modules you’re importing.

Trevor I. Lasn
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘12πŸ”₯4❀2
πŸ‘ Lexical 0.20: An Easy-to-Extend Text Editor Framework from Meta

A text editor framework built by Meta with extensibility, accessibility, and cross platform support in mind (there’s even a Swift variant for iOS). There’s a live playground if you want to give it a try. React support is first class, but it can be adapted to work elsewhere (as with svelte-lexical).

Meta / Facebook
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘9❀3πŸ”₯1
Please open Telegram to view this post
VIEW IN TELEGRAM
❀2πŸ‘2πŸ”₯2
🀟 AWS Lambda Turns Ten: Looking Back and Looking Ahead

AWS Lambda, Amazon’s cloud function service, essentially launched the term β€˜serverless’ and had a big impact on the use of Node.js in the cloud with Node v0.10 being the first and only runtime supported (till Java was added a year later).

Jeff Barr (AWS)
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘9❀2πŸ”₯2
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣7πŸ‘6πŸ”₯3❀2
CHALLENGE ❓

const obj = {
valueOf: () => 42,
toString: () => "Hello"
};
console.log(`${obj}`, obj + 10);
Please open Telegram to view this post
VIEW IN TELEGRAM
❀10πŸ‘2
πŸ‘23πŸ€”21❀9🀣7🀩6
πŸ’¬ Discordeno v19: A Powerful Discord API Library

A long standing way to work with, and build bots for, the popular Discord chat system. v19 is a big update with breaking changes.

Discordeno Team
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘4πŸ”₯3❀1
⛽️ npmpackage.info: Detailed Package Info on a Single Page

Give this online tool the name of an npm package and you get a quick β€˜dashboard’ style view of the project’s main statistics, covering areas like quality scores, commits, open issues, releases, bundle size, and more.

Shrinath Nayak
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘4πŸ”₯3❀1
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘5❀4
πŸ˜†
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣84πŸ‘6🀩6πŸ”₯2❀1
CHALLENGE ❓


const arr = [1, 2, 3];
arr[-1] = 10;
console.log(arr.length, arr[-1]);
Please open Telegram to view this post
VIEW IN TELEGRAM
❀9πŸ‘4
What is the output?
Anonymous Quiz
26%
3, undefined
21%
4, 10
37%
3, 10
17%
Error
πŸ‘14πŸ”₯7❀6πŸ€”4
✌️ Importing a Frontend JavaScript Library Without a Build System

Many developers prefer to eschew complex, modern build processes and use JavaScript in a more old-school way. You can definitely get by without a build system, and Julia explores some ways to import libraries in such a setup.

Julia Evans
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘7πŸ”₯4❀2
CHALLENGE ❓


const x = (() => {
try {
return 10;
} finally {
return 20;
}
})();
console.log(x);
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘3❀1
What is the output?
Anonymous Quiz
31%
10
51%
20
13%
undefined
6%
Error
πŸ‘20🀣17πŸ€”9❀5πŸ”₯3🀩3