JavaScript
32.1K subscribers
1.06K photos
10 videos
33 files
737 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
❓ CHALLENGE

var x = 1;
console.log(x+++x);
Please open Telegram to view this post
VIEW IN TELEGRAM
7πŸ‘2
What is the output?
Anonymous Quiz
35%
3
20%
2
16%
4
30%
SyntaxError
🀣35πŸ‘16πŸ€”1210🀩2
I HACKED A CAR IN JAVASCRIPT!!! πŸ‘€

I built a web tool to hack wireless devices right from the browser and I used it to run a rolljam/replay attack against my friend's car (with consent of course) and IT WORKED!!!

@devdevcharlie
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣3110❀6πŸ‘6πŸ€”5
❓ CHALLENGE

var x = 1;
console.log(x++ + ++x);
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘5❀1
What is the output?
Anonymous Quiz
19%
NaN
14%
2
30%
3
37%
4
🀣55πŸ€”21πŸ‘6❀22🀩1
πŸ‘€ Quill 2.0: A Powerful Rich Text Editor for the Web

A major release and significant modernization for the open source WYSIWYG editor. In Announcing Quill 2.0, we learn about Quill’s transition to TypeScript and improved use of modern browser features, but there’s more going on too, such as its ESM packaging. Want to play with some code? There’s a playground.

SLAB INC.
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘14❀44
❓ CHALLENGE

function Person(name) {
this.name = name;
}
Person.prototype.getName = function() {
return this.name;
}
var person1 = new Person('Alice');
console.log(person1.hasOwnProperty('getName'));
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘10❀2
What is the output?
Anonymous Quiz
53%
true
24%
false
15%
undefined
8%
TypeError
πŸ€”33πŸ‘11🀩5❀31
πŸ₯Ά Building a CLI from Scratch with TypeScript and oclif

oclif is a mature CLI tool development framework maintained by Salesforce. This tutorial goes from zero to something that works.

JOSH CUNNINGHAM
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘5❀44
❓ CHALLENGE

const clothes = ['shirt', 'socks', 'jacket', 'pants', 'hat']
clothes.length = 0

console.log(clothes[3])
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘173
What is the output?
Anonymous Quiz
8%
shirt
38%
pants
13%
jacket
41%
undefined
❀28🀣16πŸ‘148πŸ€”3🀩1
πŸ”₯ Visualizing Algorithms

This fantastic post is now ten years old, but I revisited it recently and it’s such a joy. Mike Bostock (of D3.js fame) visually guides us through some algorithms using both demos and code.

MIKE BOSTOCK
Please open Telegram to view this post
VIEW IN TELEGRAM
17πŸ‘5❀3🀩3
❓ CHALLENGE

const obj = {};
obj.length = 5;
console.log(obj.length);
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘106
What is the output?
Anonymous Quiz
6%
1
14%
0
57%
5
24%
undefined
🀣43πŸ‘19πŸ€”149
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣60πŸ‘22πŸ€”146
❓ CHALLENGE

const obj = {};
Object.defineProperty(obj, 'length', { get: () => Math.random() });
console.log(obj.length);
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘6❀3
What is the output?
Anonymous Quiz
13%
0
15%
1
55%
A random number
17%
undefined
🀣19πŸ‘15πŸ€”74🀩3
πŸ˜‚
Please open Telegram to view this post
VIEW IN TELEGRAM
🀣186πŸ€”158❀1
❓ CHALLENGE

const obj = { length: 3 };
console.log(Object.keys(obj).length);
Please open Telegram to view this post
VIEW IN TELEGRAM
What is the output?
Anonymous Quiz
8%
0
37%
3
37%
1
18%
undefined
πŸ‘19🀣7πŸ€”6❀1
🀟 A Node.js Streams Masterclass

What a treat! Join the creator of Fastify, as well as Node.js TSC member, on an hour long odyssey into the world of streams, a topic in which he specializes. He starts off quite poetically .. a stream is like an array over time .. before quickly getting on to some live coding and demos. This is one in a series of events put on by Platformatic. (75 minutes.)

MATTEO COLLINA
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘112❀1πŸ€”1🀩1