JavaScript
32.1K subscribers
1.06K photos
10 videos
33 files
737 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
๐Ÿ˜ฎ Node.js Download Statistics

Node.js TSC member Matteo has put together a handy site that visualizes the publicly available Node.js download statistics, partly as a way to help guide you as to which versions and which architectures need the most support. Notably, Node 18 has only just begun to pass Node 16 in popularity..

MATTEO COLLINA
Please open Telegram to view this post
VIEW IN TELEGRAM
โค6๐Ÿ”ฅ4๐Ÿ‘1
โ“ CHALLENGE #211


const obj = {};
const sym1 = Symbol('a');
const sym2 = Symbol('b');

obj[sym1] = 1;
obj[sym2] = 2;

console.log(Object.keys(obj));
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘2
๐Ÿค”15๐Ÿ‘10โค4๐Ÿคฃ4๐Ÿ”ฅ3
๐Ÿ‘ฉโ€๐Ÿ’ป aws-lite: A New Node-Powered AWS Client

Amazon Web Services does a pretty good job with its APIs and associated tooling, but sometimes they can be a little bit heavyweight. aws-lite provides a simpler and faster option. โ€œYou can think of it as a community-driven alternative to AWSโ€™s JavaScript SDK.โ€

BEGIN
Please open Telegram to view this post
VIEW IN TELEGRAM
โค7๐Ÿ”ฅ4๐Ÿ‘2
๐Ÿ—ฃ๏ธ Quote #9
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘36๐Ÿ”ฅ8โค5
โ“ CHALLENGE #212


let arr = [1, 2, 3, 4, 5];

let slicedArray = arr.slice(1, 4);
let splicedArray = arr.splice(2, 2);

console.log(slicedArray.length + splicedArray.length);
Please open Telegram to view this post
VIEW IN TELEGRAM
โค6๐Ÿ‘3
What is the output?
Anonymous Quiz
31%
4
21%
3
14%
2
34%
5
๐Ÿค”28๐Ÿ”ฅ7๐Ÿคฉ7๐Ÿ‘5๐Ÿคฃ2โค1
๐Ÿ”ฅ 10 JavaScript Changes You (May Have) Missed in 2023

Weโ€™ve covered most of these, but this is still a productive refresher in just six minutes, covering things like toSorted(), iOS Web Push, Next.js updates, Angular 17, and the rapid rise of Bun.

FIRESHIP ON YOUTUBE
Please open Telegram to view this post
VIEW IN TELEGRAM
โค7๐Ÿ”ฅ5๐Ÿคฉ3๐Ÿ‘2
โ“ CHALLENGE #213


console.log(1 + '2' + '2');
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘5
What is the output?
Anonymous Quiz
73%
122
5%
14
5%
32
17%
5
๐Ÿคฃ36๐Ÿ‘21๐Ÿค”16โค10
๐Ÿ—ฃ๏ธ Quote #10
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘11โค7๐Ÿคฃ3๐Ÿ”ฅ2
โ“ CHALLENGE #214

let x = 10;
let y = 5;

x += y -= x *= y;

console.log(x);
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿคฃ22โค13๐Ÿ‘4๐Ÿ”ฅ4
What is the output?
Anonymous Quiz
14%
10
34%
25
45%
-35
7%
-15
๐Ÿค”24๐Ÿ‘15๐Ÿคฃ15โค12๐Ÿ”ฅ6
Another Milestone Celebration ๐ŸŽ‰

We just hit 6,000 members! ๐ŸŠ

A special shoutout to my team members, Varik and Sipanโ€”I can't thank you enough for consistently dedicating your time and effort to our project.
Your commitment doesn't go unnoticed, and I speak for all of us when I say how much we value and appreciate it.

Cheers to a fantastic team! ๐ŸŒŸ
Nairi
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘18โค10๐Ÿ”ฅ7๐Ÿคฃ2
โ“ CHALLENGE #215

function multiply(a, b) {
if (b === 0) {
return 0;
} else if (b > 0) {
return a + multiply(a, b - 1);
} else {
return -multiply(a, -b);
}
}

console.log(multiply(7, 5));
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘6โค3๐Ÿค”2
๐Ÿค”18โค11๐Ÿ‘6๐Ÿคฃ6๐Ÿ”ฅ3
๐Ÿ“„ Prettier's CLI: A Performance Deep Dive

Weโ€™ve recently written about the bounty the Prettier project put up (and how Biome won it) but Prettier has also been working on itself by hiring the author of this post to find and implement performance improvements, all while sticking with JavaScript.

FABIO SPAMPINATO
๐Ÿ‘4โค3๐Ÿ”ฅ2
โ“ CHALLENGE #216


function* fibonacci() {
let [prev, curr] = [0, 1];
while (true) {
[prev, curr] = [curr, prev + curr];
yield curr;
}
}

const fib = fibonacci();

console.log(fib.next().value);
console.log(fib.next().value);
console.log(fib.next().value);
Please open Telegram to view this post
VIEW IN TELEGRAM
โค5
What is the output?
Anonymous Quiz
48%
1, 2, 3
35%
1, 1, 2
10%
3, 5, 8
7%
2, 3, 5
๐Ÿ‘13โค4๐Ÿ”ฅ2๐Ÿคฃ2
๐Ÿ‘€ How Marketing Changed OOP in JavaScript

A look at JavaScriptโ€™s earliest history and its prototypal nature.

JUAN DIEGO RODRรGUEZ
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘3โค2๐Ÿ”ฅ2
โ“ CHALLENGE #217

const asyncFunction = async () => {
const delay = (ms) => new Promise(resolve => setTimeout(resolve, ms));

const result = await Promise.race([delay(100), delay(500)]);
return result;
};

asyncFunction().then(value => console.log(value));
Please open Telegram to view this post
VIEW IN TELEGRAM
โค10๐Ÿ‘2