CHALLENGE β
Number.prototype[Symbol.iterator] = function*() { yield *['a','b','c'] };
console.log([...1]);
Please open Telegram to view this post
VIEW IN TELEGRAM
π€12β€4π3
π2π€1
A long-standing comparison of many different frameworks (like React, Vue, Svelte, Angular, Qwik, Solid.js, etc.) by way of simple code snippets to perform various tasks. Now including Svelte 5 and Angular 17/Renaissance.
Mathieu Schimmerling
Please open Telegram to view this post
VIEW IN TELEGRAM
π3π₯3
CHALLENGE β
console.log([β¦({ [Symbol.iterator]: function*(){ yield *[1, yield *[2,3] ] } })])
Please open Telegram to view this post
VIEW IN TELEGRAM
π7π₯3β€1
π10β€5π€4π₯2
Import Attributes (now at stage 4 at TC39 and already supported in some runtimes) add a way to supply useful metadata about modules youβre importing.
Trevor I. Lasn
Please open Telegram to view this post
VIEW IN TELEGRAM
π12π₯4β€2
A text editor framework built by Meta with extensibility, accessibility, and cross platform support in mind (thereβs even a Swift variant for iOS). Thereβs a live playground if you want to give it a try. React support is first class, but it can be adapted to work elsewhere (as with svelte-lexical).
Meta / Facebook
Please open Telegram to view this post
VIEW IN TELEGRAM
π9β€3π₯1
Please open Telegram to view this post
VIEW IN TELEGRAM
β€2π2π₯2
AWS Lambda, Amazonβs cloud function service, essentially launched the term βserverlessβ and had a big impact on the use of Node.js in the cloud with Node v0.10 being the first and only runtime supported (till Java was added a year later).
Jeff Barr (AWS)
Please open Telegram to view this post
VIEW IN TELEGRAM
π9β€2π₯2
CHALLENGE β
const obj = {
valueOf: () => 42,
toString: () => "Hello"
};
console.log(`${obj}`, obj + 10);
Please open Telegram to view this post
VIEW IN TELEGRAM
β€10π2
What is the output?
Anonymous Quiz
15%
β42β, 52
50%
βHelloβ, 52
10%
βHelloβ, 42
24%
βHelloβ, β[Object object]β
π23π€21β€9π€£7π€©6
A long standing way to work with, and build bots for, the popular Discord chat system. v19 is a big update with breaking changes.
Discordeno Team
Please open Telegram to view this post
VIEW IN TELEGRAM
π4π₯3β€1
Give this online tool the name of an npm package and you get a quick βdashboardβ style view of the projectβs main statistics, covering areas like quality scores, commits, open issues, releases, bundle size, and more.
Shrinath Nayak
Please open Telegram to view this post
VIEW IN TELEGRAM
π4π₯3β€1
Please open Telegram to view this post
VIEW IN TELEGRAM
π5β€4
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£84π6π€©6π₯2β€1
CHALLENGE β
const arr = [1, 2, 3];
arr[-1] = 10;
console.log(arr.length, arr[-1]);
Please open Telegram to view this post
VIEW IN TELEGRAM
β€9π4
π14π₯7β€6π€4
Many developers prefer to eschew complex, modern build processes and use JavaScript in a more old-school way. You can definitely get by without a build system, and Julia explores some ways to import libraries in such a setup.
Julia Evans
Please open Telegram to view this post
VIEW IN TELEGRAM
π7π₯4β€2
CHALLENGE β
const x = (() => {
try {
return 10;
} finally {
return 20;
}
})();
console.log(x);
Please open Telegram to view this post
VIEW IN TELEGRAM
π3β€1