๐1
Sponsored by Bryntum ๐ฎโโ๏ธ
World Class Web Components
๐ฅ Google takes its biggest L ever... now a convicted monopolist
Fireship
World Class Web Components
Fireship
Please open Telegram to view this post
VIEW IN TELEGRAM
3๐คฃ6๐ฅ4โค3๐2
Sponsored by Bryntum ๐ฎโโ๏ธ
World Class Web Components
โ CHALLENGE
World Class Web Components
const weakMap = new WeakMap();
const array = [1, 2, 3];
const obj = {};
weakMap.set(obj, array);
const result = weakMap.get(obj).reduce((acc, val) => acc + val);
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
๐7
2๐10โค8๐ฅ3
Sponsored by Bryntum ๐ฎโโ๏ธ
World Class Web Components
โ CHALLENGE
World Class Web Components
const weakMap = new WeakMap();
const obj1 = {};
const obj2 = { key: 'value' };
weakMap.set(obj1, obj2);
const result = weakMap.get(obj1).key.split('').reverse().join('');
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
๐8๐ค4โค2
3๐12โค6๐ฅ3๐ค1
Sponsored by Bryntum ๐ฎโโ๏ธ
World Class Web Components
๐ Volta 2.0: Install and Run JavaScript Tools Quickly
A long-standing Rust powered tool for installing and switching JavaScript related tools (like Node, TypeScript, Yarn, etc.) โฆ โno matter the package manager, Node runtime, or OS.โ GitHub repo.
Volta
World Class Web Components
A long-standing Rust powered tool for installing and switching JavaScript related tools (like Node, TypeScript, Yarn, etc.) โฆ โno matter the package manager, Node runtime, or OS.โ GitHub repo.
Volta
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐5โค2๐ฅ2
Sponsored by Bryntum ๐ฎโโ๏ธ
World Class Web Components
โ CHALLENGE
World Class Web Components
const weakMap = new WeakMap();
const objs = [{}, {}, {}];
objs.forEach((obj, index) => weakMap.set(obj, index + 1));
const result = objs.filter(obj => weakMap.has(obj)).map(obj => weakMap.get(obj) * 2);
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐6โค3๐ฅ3๐ค3
๐6
Sponsored by Bryntum ๐ฎโโ๏ธ
World Class Web Components
๐ฒ Node.js Security release process
Only those who have been involved in a security release process know how hard it is (time-consuming, effort).
We've been working hard to automate most (if not all) of the process and the new security release process is live
Rafael Gonzaga
World Class Web Components
Only those who have been involved in a security release process know how hard it is (time-consuming, effort).
We've been working hard to automate most (if not all) of the process and the new security release process is live
Rafael Gonzaga
Please open Telegram to view this post
VIEW IN TELEGRAM
2โค4๐3๐ฅ2
Sponsored by Bryntum ๐ฎโโ๏ธ
World Class Web Components
โ CHALLENGE
World Class Web Components
const obj = {
a: 1,
b: 2
};
let a = 10;
let b = 20;
with (obj) {
a += 1;
b += 1;
}
console.log(a, obj.a, b, obj.b);
Please open Telegram to view this post
VIEW IN TELEGRAM
๐ค11๐3โค1
2๐ฅ13๐7๐ค4โค3
Sponsored by Bryntum ๐ฎโโ๏ธ
World Class Web Components
โ CHALLENGE
World Class Web Components
const obj1 = {
name: "Alice",
age: 25
};
const obj2 = {
age: 30,
city: "Wonderland"
};
with (obj1) {
with (obj2) {
name = "Bob";
console.log(name, age);
}
}
Please open Telegram to view this post
VIEW IN TELEGRAM
๐ค9๐คฉ7๐5โค1
2๐14๐ค7๐ฅ5โค3
Sponsored by Bryntum ๐ฎโโ๏ธ
World Class Web Components
๐ฅ Billionaire Pavel Durov arrested... The truth about Telegram
Fireship
World Class Web Components
Fireship
Please open Telegram to view this post
VIEW IN TELEGRAM
2โค10๐คฃ6๐4
Sponsored by Bryntum ๐ฎโโ๏ธ
World Class Web Components
โ๏ธ Regexes Got Good: The History (and Future) of Regular Expressions in JavaScript
Regular expression support was always a little underwhelming in JS, but things have improved. Steven takes us on a tour to refresh our knowledge, as well as show off his โregexโ library that boosts JS regexes to a true A++ rating. Steven was co-author of OโReillyโs Regular Expressions Cookbook and High Performance JavaScript so knows his stuff.
Steven Levithan
World Class Web Components
Regular expression support was always a little underwhelming in JS, but things have improved. Steven takes us on a tour to refresh our knowledge, as well as show off his โregexโ library that boosts JS regexes to a true A++ rating. Steven was co-author of OโReillyโs Regular Expressions Cookbook and High Performance JavaScript so knows his stuff.
Steven Levithan
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐6๐ฅ5โค3
Sponsored by Bryntum ๐ฎโโ๏ธ
World Class Web Components
โ CHALLENGE
World Class Web Components
const weakMap = new WeakMap();
const arr = [1, 2, 3].map(n => ({ n }));
arr.forEach(obj => weakMap.set(obj, obj.n * 2));
arr.pop(); // Remove the last element
const result = arr.reduce((acc, obj) => acc + weakMap.get(obj), 0);
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
โค2
2๐8๐ฅ4๐ค3โค1
Sponsored by Bryntum ๐ฎโโ๏ธ
World Class Web Components
๐ฒ LogTape: Simple Logging Library with Zero Dependencies
Iโm digging this new style of library that promises support across all the main runtimes (Node, Deno, Bun) as well as edge functions and browser devtools.
Hong Minhee
World Class Web Components
Iโm digging this new style of library that promises support across all the main runtimes (Node, Deno, Bun) as well as edge functions and browser devtools.
Hong Minhee
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐4โค1๐ฅ1