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
36%
false
53%
true
7%
TypeError
4%
NaN
🀣67πŸ€”48πŸ‘13❀64🀩1
πŸ”΅ 🟠 🌲 🏀 Comparing JavaScript Frameworks: Templates

A thorough comparison of the template languages used by React, Vue, Angular and Svelte. Interesting analysis and this looks set to turn into a great series.

MAARTEN HUS
Please open Telegram to view this post
VIEW IN TELEGRAM
20πŸ‘8🀣4❀1
❓ CHALLENGE

var x = 1;
function changeX() { x = 2; }
changeX();
console.log(x);
Please open Telegram to view this post
VIEW IN TELEGRAM
❀13πŸ€”10πŸ‘2
What is the output?
Anonymous Quiz
30%
1
11%
undefined
6%
Error
52%
2
πŸ‘23❀7πŸ€”7🀩64
🀟 πŸ‘€ The faster Lambda runtime - NodeJS or LLRT? We benchmarked.

No clue what it means, or what it does.
I felt this way when I saw it for the first time.
But you don’t have to feel the same way I did.

I’ve tested, benchmarked and compiled all the details which will help you make the best use of AWS LLRT.
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘12🀩54
❓ CHALLENGE

function Animal(){
this.type = "animal"
}

function Dog(){
this.name = "dog"
}

Dog.prototype = new Animal()

var PavlovPet = new Dog();

console.log(PavlovPet.__proto__ === Dog.prototype)
console.log(Dog.prototype.__proto__ === Animal.prototype)
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘13❀8πŸ€”3
πŸ‘17❀66🀣1
πŸ€” f(x) is a fantastic terminal-based JSON viewer app (written in Go, but it can integrate with JS functions) – its latest version supports YAML too.
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘85❀2
❓ CHALLENGE

console.log("5" + 3);
console.log("5" - 3);
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘12❀9πŸ€”2
31πŸ€”20🀣12πŸ‘5
🀟 Bringing require(esm)

Joyee writes about landing experimental support for require()-ing synchronous ES modules in Node, a feature that has been a long time coming, due to both technical and cultural factors.

JOYEE CHEUNG
Please open Telegram to view this post
VIEW IN TELEGRAM
9πŸ‘5❀3
❓ CHALLENGE


console.log(new RegExp({}).test("mom"));

console.log(new RegExp({}).test("dad"));


By Samvel
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ€”26❀106πŸ‘4
πŸ€”34🀣166❀4πŸ‘4
🀟 Runtime Compatibility Across JavaScript Runtimes

Several developers have come together to build this convenient way to visualize the compatibility of different Web APIs and JavaScript features across the ever increasing number of different runtimes (e.g. Bun, Deno, Node, LLRT..)

TOM LIENARD ET AL.

βœ… The item above reminds me of node.green, a visualization of JS feature support across versions of Node / V8, though it is nearly entirely green/Yes these days!
Please open Telegram to view this post
VIEW IN TELEGRAM
❀6πŸ‘54
CHALLENGE ❓


let arr = [1, 2, 3];

function modifyArray(array) {
array.push(4);
}

modifyArray(arr.splice(1));
console.log(arr);
Please open Telegram to view this post
VIEW IN TELEGRAM
12πŸ€”6🀩5πŸ‘2
What is the output?
Anonymous Quiz
6%
[]
21%
[1]
60%
[2,3,4]
13%
[1,2,4]
πŸ€”3128πŸ‘14🀣4
🍊 Atrament 4.0: Library for Smooth Canvas Drawing and Handwriting

A small library for beautiful drawing and handwriting on canvas elements. It’s been around for several years but v4.0 is almost a complete rewrite. GitHub repo.

JAKUB FIALA
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘52❀1
CHALLENGE ❓
let x = 5;
let result = typeof (x + "10");

console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘4❀3
What is the output?
Anonymous Quiz
26%
number
57%
string
12%
Error
5%
object
❀22πŸ‘9πŸ€”9🀩21
πŸ—£οΈ Why is it called a REST API when it wakes me up at 3 AM to fix it?

Zach Wilson
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣875πŸ€”3🀩2