π21π€12β€11π€£6
A slider control based visualization you can code with simple formulas. We last linked to this a few years ago, but itβs still a fun way to do some quick, visual JS math experimentation. Tixy.land is along similar lines, but based on a 2D grid.
blinry
Please open Telegram to view this post
VIEW IN TELEGRAM
β€8π4π₯1
CHALLENGE
const obj = {
a: 1,
b() {
return this.a;
}
};
const b = obj.b;
console.log(b.call({ a: 2 }));
π20β€5π€©2
π2
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯4β€3π€©3
CHALLENGE
const array = [1, 2, 3, 4, 5];
const result = array.some(n => n % 2 === 0) && array.every(n => n < 10);
console.log(result);
π5β€4
π₯9π5β€3
Please open Telegram to view this post
VIEW IN TELEGRAM
π14β€6π₯4
CHALLENGE
const obj1 = { a: 1, b: { c: 2 } };
const obj2 = { ...obj1 };
obj1.b.c = 3;
console.log(obj2.b.c);
π7β€6
π€15π6π€©2β€1
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£104β€4π€©3π₯1
CHALLENGE
const arr = [1, 2, 3, 4, 5];
const sliced = arr.slice(1, 3);
const spliced = arr.splice(1, 3);
console.log(sliced, spliced, arr);
π13
What is the output?
Anonymous Quiz
22%
[2, 3], [2, 3], [1, 5]
37%
[2, 3, 4], [2, 3, 4], [1, 5]
17%
[2, 3, 4], [2, 3], [1, 5]
25%
[2, 3], [2, 3, 4], [1, 5]
π23π₯9β€3π€3π€©2
This media is not supported in your browser
VIEW IN TELEGRAM
At a recent AGI House hackathon in San Francisco, we set out to run our Postgres vector extension directly in the browser. This would allow our documentation examples and small demos to be fully executable within the browser using a Postgres instance compiled to Wasm and running on the client browser.
lantern
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯8β€4π3π€©2π€1
CHALLENGE
const obj = { a: 1, b: 2 };
const obj2 = { ...obj, b: 3 };
const samePrototype = Object.getPrototypeOf(obj) === Object.getPrototypeOf(obj2);
console.log(samePrototype);
π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