What is the output?
Anonymous Quiz
51%
{ age: 30 }
9%
{ name: 'John' }
32%
{ name: 'John', age: 30 }
9%
John
π15π€10 7π€£3
The latest bitesize video from the always educational Fireship channel covers Drizzle ORM, a fast, TypeScript-based way to work with a variety of database systems across numerous JavaScript platforms, from Node to Bun, Deno Deploy, Supabase Functions, Cloudflare Workers, and more. If you need more, thereβs βΆοΈ a 13 minute βcrash courseβ to learning Drizzle, too.
FIRESHIP
Please open Telegram to view this post
VIEW IN TELEGRAM
β€10π4 2
function Person(name) {
this.name = name;
}
Person.prototype.greet = function() {
return `Hello, my name is ${this.name}`;
};
const john = new Person('John');
console.log(john.greet());
Please open Telegram to view this post
VIEW IN TELEGRAM
β€7π€4 4π3
What is the output?
Anonymous Quiz
9%
undefined
71%
Hello, my name is John
13%
TypeError: john.greet is not a function
7%
Hello, my name is undefined
π13 10π€6β€1
Coming several years after the third edition, the latest version of, perhaps, the best βall rounderβ book for learning JavaScript is here: βadjusted to the realities of 2024 and generally touched up.β You can read it on the Web, but itβll be available in print later on too.
MARIJN HAVERBEKE
Please open Telegram to view this post
VIEW IN TELEGRAM
π22 11β€5π€©4
A day where enthusiasts and pros unite for insightful talks and community bonding. Get ready for a day of JavaScript joy and meaningful connections!
Non-profit free event with more than 1000 attendees.
If you are interested in supporting us, please contact us.
jssummit.am
Linkeding, Facebook, Telegram
Please open Telegram to view this post
VIEW IN TELEGRAM
β€7 5π€©3
const numbers = [1, 2, 3];
const [x, y, z] = numbers;
console.log(x, y, z);
Please open Telegram to view this post
VIEW IN TELEGRAM
What is the output?
Anonymous Quiz
27%
[1, 2, 3]
56%
1, 2, 3
15%
undefined undefined undefined
1%
2, 2, 3
Millionβs mission is to make React apps faster and the new VS Code extension Million Lint takes a new approach: imagine ESLint but for suggesting performance improvements.
AIDEN BAI
Please open Telegram to view this post
VIEW IN TELEGRAM
π19 4β€2
const value = { number: 10 };
function increment(obj) {
obj.number++;
}
increment(value);
console.log(value.number);
Please open Telegram to view this post
VIEW IN TELEGRAM
π9β€5
What is the output?
Anonymous Quiz
21%
10
17%
TypeError: Cannot read property 'number' of undefined
7%
undefined
55%
11
π22 7β€3
const nums = [1, 2, 3, 4, 5];
const sum = nums.reduce((total, current) => {
return total + current * current;
}, 0);
console.log(sum);
Please open Telegram to view this post
VIEW IN TELEGRAM
π23β€6π€©2 1
const num = 8;
const obj = {
num: 10,
inner: {
num: 6,
getNum: function() {
return this.num;
}
}
};
console.log(obj.inner.getNum());
const getNum = obj.inner.getNum;
console.log(getNum());
Please open Telegram to view this post
VIEW IN TELEGRAM
π12π€4β€2
Sometimes minor Node versions have little beyond bug fixes, but other times you get some new features, and 21.7 doesnβt disappoint. Node gains a new util.styleText() function for formatting text (including with color!), new functions to work with .env files, multi-line value support for .env files, a crypto.hash() function to more quickly compute digests in one shot (example), and more.
THE NODE.JS CORE TEAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π15 6β€3
function* generateSequence() {
yield 1;
yield 2;
return 3;
}
const generator = generateSequence();
console.log(generator.next());
console.log(generator.next());
console.log(generator.next());
Please open Telegram to view this post
VIEW IN TELEGRAM
π9π€£6β€4
π18 4β€2
A high-level, declarative charting library, built on top of D3 and stack.gl, with over 40 chart types, including 3D charts, statistical graphs, and SVG maps.
PLOTLY, INC.
Please open Telegram to view this post
VIEW IN TELEGRAM