JavaScript
32K subscribers
1.03K photos
9 videos
33 files
714 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
‼️ ✌️ Hey! We’re excited to offer 3 FREE FULL ACCESS tickets (worth $149 each) to the JavaScript online conference organized by Geekle!

To participate, simply enter your email for a chance to win.

We’ll announce the 3 lucky winners tomorrow on our channel, selected randomly. Don’t miss out on this amazing opportunity!

Join us here: https://t.me/javascript

Check out the event details here: https://events.geekle.us/javascript/
Please open Telegram to view this post
VIEW IN TELEGRAM
❀5πŸ‘5πŸ”₯1
Media is too big
VIEW IN TELEGRAM
The winners πŸ•Ί πŸ‘†
Please open Telegram to view this post
VIEW IN TELEGRAM
2❀4πŸ”₯4πŸ‘1🀩1
Proof 🀀

Check your emails
Please open Telegram to view this post
VIEW IN TELEGRAM
2🀩7❀4πŸ‘4πŸ”₯3
Please confirm that you have received your ticket and that the email is valid. @nairihar
🌐 date-fns v4.0 Released with First-Class Time Zones Support

date-fns is a hugely popular and comprehensive suite of 200+ functions for working with dates in JavaScript, and now there’s first-class time zone support too.

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


function tag(strings, ...values) {
return strings[0] + values[0] * 2 + strings[1] + values[1] + strings[2];
}

const num1 = 5;
const num2 = 10;

const result = tag`Double ${num1} and add ${num2}!`;

console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
1πŸ€”15πŸ‘8❀3πŸ”₯3
πŸ€”9πŸ‘7
πŸ’Ž Sponsored

πŸš€ Tired of bugs and frontend-backend conflicts?

Our expert devs have created a cutting-edge platform just for IT professionals! 🌟

πŸ‘‰ Join our Telegram channel to access:

πŸ”Ή Latest industry news πŸ“° 
πŸ”Ή Practical developer tips πŸ’‘ 
πŸ”Ή Exclusive content on our products & projects πŸš€

Stay informed about the most relevant tech trends and events. It's both fun and productive here! πŸŽ‰

πŸ‘‰ OneEntry Headless CMS πŸ‘ˆ

Don't miss out β€” level up with us! πŸ”πŸ‘¨β€πŸ’»
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯10❀3πŸ‘3
CHALLENGE ❓


function tag(strings, ...values) {
return strings.reduce((acc, str, i) => {
return acc + str + (values[i] ? values[i].toUpperCase() : '');
}, '');
}

const first = "hello";
const second = "world";

const result = tag`${first} and ${second} are great!`;

console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
❀7πŸ”₯5πŸ‘2
πŸ˜‰ From Node.js to Deno: How It All Began

A brief nine minute documentary exploring the origins of Deno with Ryan Dahl and Bert Belder. A good, quick way to get up to speed with the motivations behind the alternative JavaScript runtime.

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


let funcs = [];

for (var i = 0; i < 3; i++) {
funcs.push(() => i);
}

console.log(funcs[0]());
console.log(funcs[1]());
console.log(funcs[2]());
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ€”6❀5πŸ‘5πŸ”₯1
What is the output?
Anonymous Quiz
66%
0, 1, 2
12%
0, 0, 0
7%
2, 2, 2
15%
3, 3, 3
πŸ€”28πŸ‘10🀩5❀4πŸ”₯1
πŸ‘ Chokidar 4.0: Efficient Cross-Platform File Watching Library

Wraps around fs.watch / fs.watchFile and normalizes the events received, applies some best practices, and presents an API that works the same across different platforms.

Paul Miller
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘7❀2πŸ”₯1
CHALLENGE ❓


const person = {
name: "John",
greet: function() {
const getMessage = () => `Hello, ${this.name}`;
return getMessage();
}
};

console.log(person.greet());
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘8❀2
πŸ‘7πŸ”₯6πŸ€”4❀2
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣13πŸ‘4πŸ”₯3❀1
CHALLENGE ❓


const animal = {
sound: "Generic sound",
makeSound() {
return this.sound;
}
};

const dog = Object.freeze(Object.create(animal));
dog.sound = "Bark";

const result = dog.makeSound();

console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘10❀8
What is the output?
Anonymous Quiz
44%
Generic sound
14%
undefined
35%
Bark
7%
Error
πŸ‘7πŸ”₯7❀5πŸ€”3
πŸ‘€ Mathematical Symbols and JavaScript Equivalents

We’re not just talking the obvious like + and - but things like ⁿ√, Ξ£, Ξ , βˆƒ, and set notation.

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


var a = 5;
function test() {
console.log(a);
var a = 10;
console.log(a);
}

test();
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘17