if (false) {
function foo() {
return 1;
}
}
console.log(foo());
Please open Telegram to view this post
VIEW IN TELEGRAM
π12β€1
Erick Wendel
Please open Telegram to view this post
VIEW IN TELEGRAM
π13 4β€3
const numbers = [2, 4, 6, 8, 10];
const result = numbers.reduce((acc, val) => {
acc[val] = val * 2;
return acc;
}, {});
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
β€6π1
What is the output?
Anonymous Quiz
19%
{ 2: 4, 4: 8, 6: 12, 8: 16, 10: 10 }
51%
{ 2: 4, 4: 8, 6: 12, 8: 16, 10: 20 }
10%
{ 2: 4, 4: 8, 6: 12, 8: 16 }
20%
{ 4: 8, 8: 16, 12: 24, 16: 32, 20: 40 }
Please open Telegram to view this post
VIEW IN TELEGRAM
What are your favorite frontend frameworks?
Anonymous Poll
76%
React
17%
Angular
14%
Vue.js
5%
Svelte
3%
Astro
20%
Next.js
3%
Remix
6%
htmx
Guess what? We've hit 7,000 members! π₯³
We thought this milestone was a next-year thing, but thanks to all of you, we're celebrating it right now.βΊοΈ
Whether you've been with us from the start or just joined, your presence is what makes our community awesome.π
We thought this milestone was a next-year thing, but thanks to all of you, we're celebrating it right now.
Whether you've been with us from the start or just joined, your presence is what makes our community awesome.
Please open Telegram to view this post
VIEW IN TELEGRAM
β€14 8π5π€1
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
What are your favorite database?
Anonymous Poll
21%
PostgreSQL
59%
MySQL
8%
SQLite
4%
Redis
39%
MongoDB
2%
Cassandra
1%
Elasticsearch
4%
MariaDB
2%
DynamoDB
2%
Neo4j
Please open Telegram to view this post
VIEW IN TELEGRAM
What are your favorite editors?
Anonymous Poll
84%
VS Code
9%
Sublime Text
4%
Atom
4%
Vim
4%
NeoVim
8%
WebStorm
1%
Emacs
8%
Notepad++
17%
Visual Studio
Please open Telegram to view this post
VIEW IN TELEGRAM
What is your salary as a developer?
Anonymous Poll
42%
< 500 $
11%
500 - 1K $
17%
1K - 3K $
7%
3K - 6K $
6%
6K - 10K $
17%
10K + $
π€£46π€16β€6 6π4
May your algorithms always be efficient, your meetings brief, and your stack overflow searches fruitful.
Please open Telegram to view this post
VIEW IN TELEGRAM
β€49 15π12π€©2
function calculateAsyncSum(numbers) {
return new Promise(resolve => {
setTimeout(() => {
const sum = numbers.reduce((acc, num) => acc + num, 0);
resolve(sum);
}, 1000);
});
}
async function getResult() {
const data = [1, 2, 3, 4, 5];
const result = await calculateAsyncSum(data);
console.log(result);
}
getResult();
Please open Telegram to view this post
VIEW IN TELEGRAM
π9β€6
π18 8β€3