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
❓ CHALLENGE

function delayedLog(item) {
setTimeout(() => {
console.log(item);
}, 1000);
}
for (var i = 0; i < 3; i++) {
delayedLog(i);
}
Please open Telegram to view this post
VIEW IN TELEGRAM
6❀2
πŸ‘1313❀9🀣8πŸ€”1
🌲 PrimeVue 3.49.0: Vue UI Component Library

A mature, rich set of open source UI components for Vue developers we first mentioned a few years ago. This new release includes components to enter one time passwords and a β€˜stepper’ for wizard-style workflows. There’s also a new optional declarative syntax for using components that makes their code easier to read and write.

PRIMETEK
Please open Telegram to view this post
VIEW IN TELEGRAM
12πŸ‘8❀3πŸ€”2🀣2
❓ CHALLENGE


var a = 1;

const arrowQuiz = () => {
console.log(this.a);
};

arrowQuiz();
var a = 2;
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘17❀3🀩2πŸ€”1
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