JavaScript
32.1K subscribers
1.06K photos
10 videos
33 files
734 links
A resourceful newsletter featuring the latest and most important news, articles, books and updates in the world of #javascript 🚀 Don't miss our Quizzes!

Let's chat: @nairihar
Download Telegram
What is the output?
Anonymous Quiz
17%
"A"
46%
"B"
18%
"C"
19%
Error
🔥6👍42
😂 NO eye contact and NO feeding

I am Programmer,I have no life.
Please open Telegram to view this post
VIEW IN TELEGRAM
🤣354🔥3👍2🤩1
CHALLENGE #202

let a = 1;
{
let a = 2;
}
a+=1;
console.log(a);
Please open Telegram to view this post
VIEW IN TELEGRAM
👍21🔥3
What is the output?
Anonymous Quiz
16%
Error
20%
3
9%
1
55%
2
👍246🔥4🤩3🤣2
🤔5
Which challenge template do you prefer?
Anonymous Poll
35%
Old one (images)
65%
New one (code, copyable)
🤩12👍85🤔1
CHALLENGE #203

const asyncFunction = async () => {
try {
await Promise.reject("Oops!");
} catch (error) {
return "Caught: " + error;
} finally {
return "Finally block executed";
}
};

asyncFunction().then(result => console.log(result));
Please open Telegram to view this post
VIEW IN TELEGRAM
👍145🔥5
This media is not supported in your browser
VIEW IN TELEGRAM
Why Should You This?

Because it's not just an empty repository; it's an existential experience. By starring, you become part of the nothingness revolution. Join us in the pursuit of emptiness!

https://github.com/nairihar/the-most-starred-readme
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥8🤩62🤔2
CHALLENGE #204


const emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;
const emails = ["[email protected]", "john.doe@gmail.", "invalid-email", "[email protected]"];

const validEmails = emails.filter(email => emailPattern.test(email));

console.log(validEmails);
Please open Telegram to view this post
VIEW IN TELEGRAM
Do you know HTML 😎 ???
Please open Telegram to view this post
VIEW IN TELEGRAM
🤣43👍7🔥6
CHALLENGE #205


function asyncFunction(value) {
return new Promise(resolve => {
setTimeout(() => {
console.log(value);
resolve(value);
}, 1000);
});
}

(async () => {
const results = await Promise.all([asyncFunction(1), asyncFunction(2), asyncFunction(3)]);
console.log(results);
})();
Please open Telegram to view this post
VIEW IN TELEGRAM
👍14
🔥9🤔6👍42
☠️
Please open Telegram to view this post
VIEW IN TELEGRAM
🤔23🤣203👍1🤩1
CHALLENGE #206


for (var i = 0; i < 3; i++) {
const log = () => {
console.log(i)
}
setTimeout(log, 100)
}
Please open Telegram to view this post
VIEW IN TELEGRAM
👍6🔥21
What is the output?
Anonymous Quiz
28%
Error
37%
1, 2, 3
6%
3, 2, 1
29%
3, 3, 3
🤣21🔥8🤔64👍2
🤔
Please open Telegram to view this post
VIEW IN TELEGRAM
🤣46🤔62🔥2👍1
CHALLENGE #207


var a = 1
function output () {
console.log(a)
var a = 2
console.log(a)
}
console.log(a)
output()
console.log(a)
Please open Telegram to view this post
VIEW IN TELEGRAM
🤣15👍61🔥1
What is the output?
Anonymous Quiz
13%
2, 1
20%
2, 2
23%
1, 1
45%
1, 2
🤔399🤣7🤩2👍1🔥1
👩‍💻 Angular 17 - New Build-In Control Flow Overview

Angular 17 was released last week and a significant enhancement was support for a new syntax in templates that looks and feels more JavaScript-y.

DMYTRO MEZHENSKYI
Please open Telegram to view this post
VIEW IN TELEGRAM
5👍3🔥2