What is the output?
Anonymous Quiz
15%
[object Object]
74%
Make: Toyota, Model: Camry
7%
Undefined
5%
This will result in an error.
β€17π6 4
Our JavaScript community has grown to 8K strong, and we're thrilled to have each and every one of you on this coding journey with us! π
β‘οΈ Boost us in Telegram
Please open Telegram to view this post
VIEW IN TELEGRAM
π€©25 12π8β€7
Media is too big
VIEW IN TELEGRAM
In addition to maintaining this newsletter, we also organize conferences.
Previous year, 13 super-smart devs shared cool stuff with 800 friends. Halls were buzzing, and we loved watching it!
Guess what? Another fun year is coming! We'll learn, help each other, and make our community bigger.
More talks, a bigger place, and more friends β it's gonna be awesome!
P.S. If you want to become our next Speaker or Sponsor contact me.
P.S. You can follow our conference channel on telegram.
#javascriptarmenia #conference
Please open Telegram to view this post
VIEW IN TELEGRAM
β€7π4 3
const numbers = [4, 9, 16, 25];
const result = numbers.every(num => Math.sqrt(num) % 1 === 0);
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
β€14π€©3π1
What is the output?
Anonymous Quiz
14%
This will result in an error.
24%
false
49%
true
13%
undefined
π19β€9 6
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£82β€8 6
const sentence = 'The quick brown fox jumps over the lazy dog';
const result = sentence.split(/\s+/).map(word => word.length).filter(length => length % 2 === 0);
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
π4β€3
π21 11β€9
While many of us were taking a break, some folks published an 'everything' package that depended upon all public npm packages, resulting in millions of transitive dependencies. This caused.. some problems. One of the folks involved also shared the story from behind the scenes.
FEROSS ABOUKHADIJEH (SOCKET)
Please open Telegram to view this post
VIEW IN TELEGRAM
const text = 'Hello, World!';
const result = text.match(/l+/g);
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
π26 12π€10β€2
While Node has always been fast (thanks largely to its V8 underpinnings), thereβs a renewed focus on performance in the face of benchmarks and claims from alternatives like Deno and Bun. Lars looks at the ecosystem of benchmarking options in the space.
LARS KAPPERT
Please open Telegram to view this post
VIEW IN TELEGRAM
β€6π4 3
If you want a look at the output without running it for yourself, thereβs a whole page of graphs for popular, real world projects including Chalk and Yarn. Might be an option if you're looking to create a fun poster for your office wall..? π
SANDER VERWEIJ
Please open Telegram to view this post
VIEW IN TELEGRAM
π7 6β€3
const a = [1, 2, 3];
const b = a;
b[0] = 0;
console.log(a);
Please open Telegram to view this post
VIEW IN TELEGRAM
π21π€£14 12π€6
What is the output?
Anonymous Quiz
39%
[1, 2, 3]
52%
[0, 2, 3]
6%
[0, 2, 3, 1]
3%
[0, 2, 3, 1, 2, 3]
π€18β€9π9π€£7 6π€©1
Anyone who follows Devon Govett (also of Parcel fame) on social media will know just how much he's put into this suite of components, and v1.0 is now here. If youβre building your own components and want to get accessibility right, this is for you. Devon explains a little more here.
ADOBE
Please open Telegram to view this post
VIEW IN TELEGRAM
β€6 4π3
async function asyncQuiz() {
console.log("Start");
const promise1 = new Promise((resolve) => {
setTimeout(() => resolve("Promise 1"), 1000);
});
const promise2 = new Promise((resolve) => {
setTimeout(() => resolve("Promise 2"), 500);
});
console.log(await promise1);
console.log(await promise2);
console.log("End");
}
asyncQuiz();
Please open Telegram to view this post
VIEW IN TELEGRAM
π€13π12 9β€8
What is the output?
Anonymous Quiz
45%
Start, Promise 1, Promise 2, End
36%
Start, Promise 2, Promise 1, End
10%
Start, Promise 1, End, Promise 2
9%
Start, Promise 2, End, Promise 1
π€20 10π9π€©2β€1
Please open Telegram to view this post
VIEW IN TELEGRAM
π€15π€£9β€5π4
function* gen() {
yield *[1,1];
yield 2;
yield 3;
}
const generator = gen();
console.log(generator.next().value);
console.log(generator.next().value);
for (const value of generator) {
console.log(value);
}
Please open Telegram to view this post
VIEW IN TELEGRAM
π14 7π€4β€3
π11 7β€2π€©1