JavaScript
31.9K subscribers
1.02K photos
9 videos
33 files
699 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
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯8πŸ‘2❀1
CHALLENGE

var obj = {
a: 10,
b: 20,
c: 'hello'
};

with (obj) {
var sum = a + b;
var greeting = c + ' world';
}

console.log(sum, greeting);
πŸ‘15πŸ”₯2🀩2
πŸ€”14πŸ‘7❀5🀣2
🀟 Node.js Delivers First LTS with require(esm) Enabled

It’s a modest milestone, but Node v22.12.0 (LTS) has been released and marks Node’s first LTS release with non-flagged support for loading native ES modules with require(). It’s still experimental, though, and you’re encouraged to send in feedback and bug reports.

Sarah Gooding
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘8πŸ”₯2❀1
CHALLENGE

let a = 5; // binary: 0101
let b = 3; // binary: 0011

let result = a & b;

console.log(result);
πŸ‘8❀4🀩2πŸ”₯1
What is the output?
Anonymous Quiz
44%
1
20%
3
21%
5
15%
7
πŸ€”18❀5πŸ‘4
πŸ–ΌοΈ wasm-vips: It's libvips, Compiled to WebAssembly

libvips is a popular, highly efficient image processing library written in C. You can use it via Sharp in Node.js, but this offers a more isomorphic route for use in Node, Deno, and modern browsers by way of WebAssembly. (There's a nifty online demo here.)

Kleis Auke Wolthuizen
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘5❀3πŸ”₯3
CHALLENGE

const defaultSettings = {
theme: 'light',
notifications: true,
location: 'USA'
};

const userSettings = {
theme: 'dark',
location: 'Canada'
};

const finalSettings = {
...defaultSettings,
...userSettings
};

console.log(finalSettings);
πŸ‘17❀3
✌️ Boa v0.20: An Alternative JavaScript Compiler

Under development for several years, Boa has a few missions: be a Rust ECMAScript implementation, be easy to embed in Rust projects, and be a fast, safe JS engine overall. v0.20 sees a bump up to 89.92% compliance in the Test262 suite, improves Temporal support, adds Atomics.pause, and more. This is no toy engine.

Boa Developers
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘4πŸ”₯2❀1
CHALLENGE

let a = 5; // binary: 101
let b = 3; // binary: 011

let result = a ^ b;

console.log(result);
πŸ‘13❀1
What is the output?
Anonymous Quiz
30%
6
22%
7
18%
2
30%
8
πŸ€”29πŸ‘12❀5πŸ”₯3
🀟 The State of Node.js Performance in 2024

A thorough set of benchmarks covering recent performance advancements made in Node.js. The improvements between Node 18 and 20 up to version 22 might surprise you - it’s clear the team has put a lot of work into this area.

Gonzaga and Parody (NodeSource)
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘6πŸ”₯2❀1
Starting today until December 31, we’ll be wrapping up the year with surveys and celebrations! πŸŽ‰

During this time, we’ll pause posting JavaScript updates to focus on reflecting and celebrating together. Thank you for your understanding, and we wish you and your families a joyful and peaceful holiday season! πŸŽ„
Please open Telegram to view this post
VIEW IN TELEGRAM
❀11πŸ‘8🀩3
πŸ‘ Share your experience with the community
Please open Telegram to view this post
VIEW IN TELEGRAM
Did you lose your job in 2024?
Anonymous Poll
24%
Yes
30%
No
45%
I don't have IT job
🀣26❀6πŸ‘5πŸ”₯2πŸ€”2
😈 Let's see how the market was this year!
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯5❀3
🀣75πŸ€”10πŸ‘9❀5πŸ”₯3
πŸ˜ƒ We are waiting for your honest answer.
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯8πŸ‘4❀1
❀25πŸ‘8πŸ”₯6πŸ€”3🀣1
πŸ˜† We think the answer is clear, but ...
Please open Telegram to view this post
VIEW IN TELEGRAM