2π₯9β€6π6
const numbers = [0,0,0];
let i = 0;
const result = numbers.reduce((acc, _) => {
return ++acc;
}, i);
console.log(i, result);
Please open Telegram to view this post
VIEW IN TELEGRAM
π3
3β€12π8π€8π₯2
Far from being βyet another bundlerβ with its own approach and terminology to learn, Rspack prides itself on being webpack API and ecosystem compatible, while offering many times the performance. The team now considers it production ready and encourages you to try your webpack-based projects on it.
Rspack Contributors
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3π2π₯1
CHALLENGE
function createCounter() {
let count = 0;
return {
increment() {
count++;
return count;
},
getCount() {
return count;
}
};
}
const counter = createCounter();
console.log(counter.increment());
console.log(counter.getCount());
console.log(counter.increment());
console.log(counter.getCount());
π7β€4π₯3
β€10π7π₯1
Please open Telegram to view this post
VIEW IN TELEGRAM
2π€£47β€7π₯6
CHALLENGE
const obj = {
a: 1,
b: 2,
getSum() {
return this.a + this.b;
}
};
const cloneObj = { ...obj, getSum() { return this.b + this.a; } };
console.log(obj.getSum());
console.log(cloneObj.getSum());
π€£11π₯3
2β€9π3π₯2
Material UI v6 is out now π
At ten years old, the popular design system has its latest major release. There's a focus on improved theming, color scheme management, container queries, and React 19 support. There are revamped templates to be inspired by, too.
GarcΓa, Bittu, Andai, et al.
At ten years old, the popular design system has its latest major release. There's a focus on improved theming, color scheme management, container queries, and React 19 support. There are revamped templates to be inspired by, too.
GarcΓa, Bittu, Andai, et al.
Please open Telegram to view this post
VIEW IN TELEGRAM
2β€3π3π₯2π€£1
CHALLENGE
const obj = {
value: 42,
getValue() {
return Math.max(this.value, 50);
}
};
const obj2 = {
value: 25,
getValue: obj.getValue
};
console.log(obj.getValue());
console.log(obj2.getValue());
β€8π2
2π₯9π3β€1
Any specific details?
Anonymous Poll
19%
I need more memes!
9%
Please don't post memes!
30%
I need advanced topics!
53%
I need more Frontend Topics!
37%
I need more Backend Topics!
32%
I need advanced topics!
29%
I need better Quizzes!
19%
Topics are OK!
22%
Quizzes are OK!
38%
I need Books in pdf format!
β€3
Do you need a day off from Newsletter?
Anonymous Poll
37%
YES!
44%
NO!
19%
Post only during the working days!
π6
Would you pay 1$ per month? (To prevent sponsored posts)
Anonymous Poll
20%
Yes I will pay 1$/month as I don't like sponsored posts.
80%
No, sponsored posts are OK for me.
3β€3π2π₯2
CHALLENGE
const obj = {
count: 0,
increment() {
this.count++;
},
getCount() {
return (() => this.count)();
}
};
obj.increment();
obj.increment();
console.log(obj.getCount());
π12π₯5π€£2
π₯17π5π€3π€£2