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
πŸ‘1310πŸ€”6❀1
βœŒοΈπŸ“’ Eloquent JavaScript Goes Fourth

Coming several years after the third edition, the latest version of, perhaps, the best β€˜all rounder’ book for learning JavaScript is here: β€œadjusted to the realities of 2024 and generally touched up.” You can read it on the Web, but it’ll be available in print later on too.

MARIJN HAVERBEKE
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘2211❀5🀩4
πŸ’Ž JavaScript Summit Armenia 2024 | April 13

A day where enthusiasts and pros unite for insightful talks and community bonding. Get ready for a day of JavaScript joy and meaningful connections!

Non-profit free event with more than 1000 attendees.

If you are interested in supporting us, please contact us.

jssummit.am

Linkeding, Facebook, Telegram
Please open Telegram to view this post
VIEW IN TELEGRAM
❀75🀩3
❓ CHALLENGE

const numbers = [1, 2, 3];
const [x, y, z] = numbers;
console.log(x, y, z);
Please open Telegram to view this post
VIEW IN TELEGRAM
13❀1πŸ‘1
23πŸ€”11πŸ‘10🀩5🀣4
πŸ‘€ Million Lint: A Linter for React Performance

Million’s mission is to make React apps faster and the new VS Code extension Million Lint takes a new approach: imagine ESLint but for suggesting performance improvements.

AIDEN BAI
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘194❀2
❓ CHALLENGE

const value = { number: 10 };
function increment(obj) {
obj.number++;
}
increment(value);
console.log(value.number);
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘9❀5
πŸ‘227❀3
Happy Ramadan
❀107🀣5717πŸ‘16πŸ€”7
❓ CHALLENGE

const nums = [1, 2, 3, 4, 5];
const sum = nums.reduce((total, current) => {
return total + current * current;
}, 0);
console.log(sum);
Please open Telegram to view this post
VIEW IN TELEGRAM
13❀6πŸ‘3
What is the output?
Anonymous Quiz
53%
55
19%
30
12%
50
15%
65
πŸ‘23❀6🀩21
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘10❀62
❓ CHALLENGE

const num = 8;
const obj = {
num: 10,
inner: {
num: 6,
getNum: function() {
return this.num;
}
}
};
console.log(obj.inner.getNum());
const getNum = obj.inner.getNum;
console.log(getNum());
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘12πŸ€”4❀2
19πŸ‘11πŸ€”9
🀟 Node.js Updates: Text Styling (v21.7.0)

Sometimes minor Node versions have little beyond bug fixes, but other times you get some new features, and 21.7 doesn’t disappoint. Node gains a new util.styleText() function for formatting text (including with color!), new functions to work with .env files, multi-line value support for .env files, a crypto.hash() function to more quickly compute digests in one shot (example), and more.

THE NODE.JS CORE TEAM
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘156❀3
❓ CHALLENGE

function* generateSequence() {
yield 1;
yield 2;
return 3;
}

const generator = generateSequence();
console.log(generator.next());
console.log(generator.next());
console.log(generator.next());
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘9🀣6❀4
πŸ“Š Plotly 2.30: A JavaScript Graphing Library

A high-level, declarative charting library, built on top of D3 and stack.gl, with over 40 chart types, including 3D charts, statistical graphs, and SVG maps.

PLOTLY, INC.
Please open Telegram to view this post
VIEW IN TELEGRAM
11❀4πŸ‘4
❓ CHALLENGE

function factorial(n) {
return n <= 1 ? 1 : n * factorial(n - 1);
}
console.log(factorial(5));
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ€”11πŸ‘1
What is the output?
Anonymous Quiz
63%
120
18%
20
13%
25
5%
15
πŸ‘22🀣7🀩11
✌️ Shiki 1.0: A Powerful Syntax Highlighter

A few months ago, we linked to Shikiji, a fork of Shiki that was created to push the project forward. Happily, the creators of both libraries decided to join forces and Shiki 1.0 was born. It’s a syntax highlighter based on TextMate grammar and themes, the same engine as used by VS Code. The docs are good.

PINE WU, ANTHONY FU
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘134❀2πŸ€”1🀩1🀣1