Telegram Web Link
What is the output?
Anonymous Quiz
25%
3,true
32%
2,false
35%
3,false
8%
2,true
❀4πŸ‘4πŸ”₯3
CHALLENGE

const team = {
members: ['Alice', 'Bob', 'Charlie'],
leader: 'Diana',
[Symbol.iterator]: function*() {
yield this.leader;
for(const member of this.members) {
yield member;
}
}
};

let names = [];
for (const person of team) {
names.push(person);
}

console.log(names.join(', '));
❀6πŸ‘2
CHALLENGE

function processData(data) {
try {
if (!data) {
throw new TypeError('Data is required');
}

if (data.status === 'error') {
throw new Error('Invalid status');
}

return data.value.toUpperCase();
} catch (err) {
if (err instanceof TypeError) {
return 'Type Error';
}
return err.message;
}
}

console.log(processData({ status: 'error', value: 'test' }));
❀4
πŸ‘3πŸ”₯3❀2🀣1
😁 k6 1.0: Go-Powered Load Testing with JavaScript

A full-featured, configurable load generation tool that uses the Sobek Go-powered JavaScript engine to support writing test scripts in JavaScript. v1.0 promises stability, first-class TypeScript support, and better extensibility.

Grafana Labs
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘6πŸ”₯2❀1
CHALLENGE

const obj = {
name: 'Original',
greet() {
return function() {
console.log(`Hello, ${this.name}`);
};
},
arrowGreet() {
return () => {
console.log(`Hello, ${this.name}`);
};
}
};

const globalThis = { name: 'Global' };
const newObj = { name: 'New' };

const regularFn = obj.greet();
const arrowFn = obj.arrowGreet();

regularFn.call(newObj);
❀4πŸ‘2🀩1
❀4πŸ‘4πŸ”₯3
πŸ€” HelloCSV: A Drop-In, CSV Importing Workflow for JS Apps

If you or your users have CSV files to import, here’s a complete CSV importing workflow for the frontend that you can drop into your app. Basic docs.

HelloCSV
Please open Telegram to view this post
VIEW IN TELEGRAM
❀3πŸ”₯3πŸ‘2
CHALLENGE

const calculator = {
value: 10,
add: function(x) {
return this.value + x;
},
multiply: function(x) {
return this.value * x;
}
};

const add5 = calculator.add;
const double = calculator.multiply.bind(calculator);
const triple = calculator.multiply.bind({value: 3});

console.log(add5(2) + double(3) + triple(4));
πŸ‘2
What is the output?
Anonymous Quiz
18%
44
40%
NaN
26%
42
15%
undefined2310
πŸ‘10❀4
🀟 Node 24 (Current) Released

Node’s release lines are shifting a little lately – v18 has gone EOL and now v23 gives way to v24 as the β€˜Current’ release for when you need the cutting edge features. It comes with npm 11, V8 13.6 (hello RegExp.escape, Float16Array, and `Error.isError`), the URLPattern API exposed by default, plus Undici 7.

Node.js Team
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘12❀1πŸ”₯1
CHALLENGE

const a = 9007199254740991n; // MAX_SAFE_INTEGER as BigInt
const b = 2n;
const c = a + b;

const result = [
a === 9007199254740991,
a + 1n === 9007199254740992n,
typeof c,
c > Number.MAX_SAFE_INTEGER,
BigInt(9007199254740992) - BigInt(9007199254740991)
];

console.log(result);
🀣4❀3πŸ‘2πŸ€”2
CHALLENGE

const team = {
name: 'Eagles',
players: ['Smith', 'Johnson', 'Williams'],
coach: { name: 'Brown', experience: 12 },
stats: { wins: 10, losses: 6 }
};

const {
name: teamName,
players: [firstPlayer, , thirdPlayer],
coach: { name },
stats: { wins, draws = 0 }
} = team;

console.log(`${teamName}-${firstPlayer}-${thirdPlayer}-${name}-${wins}-${draws}`);
πŸ‘5🀣5❀1
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣12πŸ‘5❀3
CHALLENGE

const user = {
name: "Alice",
age: 32,
role: "developer"
};

const handler = {
get(target, prop) {
return prop in target ?
`Value: ${target[prop]}` :
"Not found";
}
};

const proxy = new Proxy(user, handler);
delete user.age;

console.log(Reflect.get(proxy, "name") + ", " + proxy.age + ", " + proxy.skills);
πŸ‘4
πŸ˜†
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣34πŸ€”5πŸ‘4
2025/07/13 04:25:08
Back to Top
HTML Embed Code: