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
πŸ“Š 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
❓ CHALLENGE

const obj = {
value: 42,
getValue: function() {
return () => {
console.log(this.value);
};
}
};

const getValue = obj.getValue();
getValue();
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘17
What is the output?
Anonymous Quiz
59%
42
30%
undefined
8%
Error
3%
NaN
πŸ‘25πŸ€”97❀4
πŸ‘€ Voici.js: Pretty Table Printing for the Terminal

If you’ve got a collection of large objects to print out, this could be ideal as it can format them into a table, dynamically size the columns as appropriate, sort the output, and let you add styling into the mix (including colors.)

LARS WAECHTER
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘9❀11
❓ CHALLENGE

const obj = { a: 1, b: 2, c: 3 };
let result = "";
for (const [key, value] of Object.entries(obj)) {
result += key + value;
}
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
❀122
What is the output?
Anonymous Quiz
8%
abc
16%
123
8%
abbccc
69%
a1b2c3
πŸ‘2512❀5🀣4
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣237πŸ‘6
❀️ Wow, we are growing so fast!

We would like to ask for your help. Please boost us to continue sending stories on Telegram.

⚑️ Boost us in Telegram

✌️ JavaScript emoji pack for you
Please open Telegram to view this post
VIEW IN TELEGRAM
29❀13πŸ‘7πŸ€”1
❓ CHALLENGE

const string = "hello world";
const result = string.replace(/l/g, "");
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ€”127❀4
🀣38πŸ‘148❀3
πŸ‘€ The Playwright Test Generator

I don't know why I’ve not linked this before, as it’s so useful. Playwright isn’t just a library for controlling browsers from JavaScript, but also includes a tool for generating tests and page navigation code from your own interactions. Hit record, do stuff, and code is written.

MICROSOFT
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘106❀1🀣1
❓ CHALLENGE

console.log(typeof null);
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣3516πŸ€”9🀩4πŸ‘2
What is the output?
Anonymous Quiz
38%
null
37%
object
20%
undefined
5%
number
🀣41πŸ€”13πŸ‘117❀1
🍊 WinterJS 1.0: A Fast WinterCG and WASM-Compatible JS Runtime

WinterJS initially pitched itself as a Rust and SpiderMonkey-powered β€˜Service Workers server’ but now simply boasts being the fastest WinterCG-compatible JavaScript web server full stop. The ability to run JITed JS workloads entirely under WebAssembly is next on their radar.

WASMER
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘153🀩2❀1
❓ CHALLENGE

console.log(0.1 + 0.2 === 0.3);
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ€”21πŸ‘1
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