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
What is the output?
Anonymous Quiz
38%
1
27%
2
29%
undefined
6%
Error
πŸ€”30πŸ‘7🀣3
🍊 Viz.js: Work with Graphviz in the Browser

Graphviz is a suite of open source graph drawing tools of some 30+ years’ vintage. Viz.js is a WebAssembly Graphviz build that brings some of its functionality into the browser, as seen in the homepage's live demo (above). GitHub repo.

MICHAEL DAINES
Please open Telegram to view this post
VIEW IN TELEGRAM
❀113πŸ‘2
❓ CHALLENGE

const x = [1, 2, 3];
const y = x;
y.push(4);
console.log(x.length);
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣1414πŸ‘6❀1
🀣17πŸ‘12🀩6❀2πŸ€”2
πŸ˜‚ hehe
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣82❀86🀩5πŸ€”3
❓ CHALLENGE

const obj = { a: 1, b: 2, c: 3 };
const result = Object.values(obj).reduce((acc, curr) => acc * curr, 1);
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘6
What is the output?
Anonymous Quiz
23%
undefined
14%
1
10%
5
53%
6
πŸ€”22🀣1212πŸ‘2
🌲 Graceful Shutdown in NodeJS

In this article, I will show you how to do a graceful shutdown in a NodeJS application, but first, let's describe what "graceful shutdown" means and why we need to do that in our application and what are the benefits.

nairihar
Please open Telegram to view this post
VIEW IN TELEGRAM
❀14πŸ‘95
❓ CHALLENGE

const person = { name: 'John', age: 30 };
const { name, ...rest } = person;
console.log(rest);
Please open Telegram to view this post
VIEW IN TELEGRAM
10πŸ‘8
πŸ‘15πŸ€”107🀣3
πŸ”₯ Drizzle ORM Explained in 100 Seconds

The latest bitesize video from the always educational Fireship channel covers Drizzle ORM, a fast, TypeScript-based way to work with a variety of database systems across numerous JavaScript platforms, from Node to Bun, Deno Deploy, Supabase Functions, Cloudflare Workers, and more. If you need more, there’s ▢️ a 13 minute β€˜crash course’ to learning Drizzle, too.

FIRESHIP
Please open Telegram to view this post
VIEW IN TELEGRAM
❀10πŸ‘42
❓ CHALLENGE

function Person(name) {
this.name = name;
}
Person.prototype.greet = function() {
return `Hello, my name is ${this.name}`;
};
const john = new Person('John');
console.log(john.greet());
Please open Telegram to view this post
VIEW IN TELEGRAM
❀7πŸ€”44πŸ‘3
πŸ‘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