π16π₯6π€5β€4
A library that can generate barcodes using over 100 different barcode types and standards, both single and two dimensional. There is, of course, a live demo where you, too, can discover far more types of barcodes exist than you ever imagined.
Mark Warren
Please open Telegram to view this post
VIEW IN TELEGRAM
β€5π₯5π3
CHALLENGE
function Foo() {
this.bar = 1;
}
Foo.prototype.bar = 2;
const foo = new Foo();
console.log(foo.bar);
π5π€2
π€19π8β€5π₯2
β Unblocking EventLoop using unref() (added in Jul of 2024)
β A challenging interview question (added in Feb of 2024)
nairihar
Please open Telegram to view this post
VIEW IN TELEGRAM
π9π₯7β€5
In this article, we will review the notable changes introduced in the new Node.js version:
- node:sqlite module
- add matchesGlob method
- add postessageToThread method
nairihar
Please open Telegram to view this post
VIEW IN TELEGRAM
π9π₯4β€3
CHALLENGE
const func = () => arguments.length;
console.log(func(1, 2, 3));
π₯2
π22β€5π€4π₯2π€©1
Please open Telegram to view this post
VIEW IN TELEGRAM
π6β€1π₯1
CHALLENGE
const array = Array.from({ length: 5 }, () => Math.random() > 0.5);
console.log(array);
π8
What is the output?
Anonymous Quiz
43%
An array of 5 random true/false values
36%
An array of 5 random numbers between 0 and 1
11%
An empty array
10%
Error
π€12π8β€5π€£5
Part of xyflow, this makes it easy to create node-based UIs where you have interactive components wired together however you choose. There's a Svelte version too.
Moritz Klack and John Robb
Please open Telegram to view this post
VIEW IN TELEGRAM
β€6π5
CHALLENGE
const obj1 = { a: 1 };
const obj2 = Object.create(obj1);
obj2.b = 2;
const result = 'a' in obj2;
console.log(result);
β€5π4
π7β€3π₯2π€£1
Spinning up a quick, simple browser extension isnβt that big of a deal nowadays, especially with tools like Extension to kick off a project. Larger extensions are a different story, so itβs neat to learn from the experiences of a team thatβs built one.
Nina Torgunakova
Please open Telegram to view this post
VIEW IN TELEGRAM
π5β€2π₯2π€£1
CHALLENGE
const array = [1, 2, 3];
array[-1] = 0;
console.log(array.length);
β€4π3
π16π€£10π₯3β€2π€©1
Think Lodash but newer, faster, smaller, and with tree shaking and built-in TypeScript support. The reference guide shows off the supported functions so far β itβs not quite as extensive as Lodash, but itβs getting there with the goal being βto achieve full feature parity with Lodash.β
Viva Republica, Inc
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯7π6β€3π€1
CHALLENGE
const obj = {
a: 1,
then(resolve) {
resolve(this.a);
}
};
obj.then(console.log);
π4β€1
π11β€7π₯3π€£3π€1