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
What is the output?
Anonymous Quiz
14%
500
67%
450
11%
550
8%
NaN
👍12🤣104🤔1🤩1
👸 Dear Subscribers,

We hope you're enjoying the content on our channel! ❤️

To continue delivering more exciting content, features, and exclusive stories, we're kindly asking telegram premium users to help us take things to the next level.

By boosting our channel, you'll directly contribute to enhancing your viewing experience and supporting the growth of our community.

Thank you for being a part of our journey. 🚀

P.S. Each Premium user can boost 4 times.

https://t.iss.one/javascript?boost
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1462
CHALLENGE

function Animal() {}

function Dog() {}

Dog.prototype = Object.create(Animal.prototype);

const rover = new Dog();

console.log(rover.constructor === Animal);
console.log(rover.constructor === Dog);
console.log(Dog.prototype.isPrototypeOf(rover));
console.log(Animal.prototype.isPrototypeOf(rover));
👍32🔥2🤔1
😆 ...
Please open Telegram to view this post
VIEW IN TELEGRAM
🤣100👍1174🤔2
CHALLENGE

function Shape() {}

function Circle(radius) {
this.radius = radius;
}

Circle.prototype = Object.create(Shape.prototype);
Circle.prototype.constructor = Circle;

const shape = new Shape();
const circle = new Circle(5);

console.log(circle instanceof Circle);
console.log(circle instanceof Shape);
console.log(shape instanceof Circle);
console.log(shape instanceof Shape);
9👍3🔥1
🏤 Building the most performant web applications with Angular

ArmenVardanyan
Author of
"Modern Angular"
Google DevExpert for Angular
Please open Telegram to view this post
VIEW IN TELEGRAM
3👍3🔥2🤣2🤔1🤩1
CHALLENGE

function Animal() {}
function Dog() {}
Dog.prototype = Object.create(Animal.prototype);
const rover = new Dog();
console.log(rover.hasOwnProperty('constructor'));
👍52🔥2🤣2
🤔7🤣43👍3🔥1
🤟 Execa 9.0: The Better child_process Gets Even Better

Less shell-oriented than zx, execa focuses on making executing external commands secure, cross-platform, and easy to debug. v9 lets you make commands iterable so you can process their output on the fly, map/filter both input and output, pipe multiple commands, and more. GitHub repo.

EHMICKEY, SORHUS, ET AL.
Please open Telegram to view this post
VIEW IN TELEGRAM
👍52🔥2🤣2🤩1
CHALLENGE

function Shape() {}
function Circle(radius) {}
Circle.prototype = Object.create(Shape.prototype);
const shape = new Shape();
console.log(shape instanceof Circle);
🤣63🔥3👍1
What is the output?
Anonymous Quiz
33%
false
43%
true
15%
undefined
9%
ReferenceError
👍13🤔10🤩43🤣2🔥1
📌 #688 - JavaScript Weekly
Please open Telegram to view this post
VIEW IN TELEGRAM
👍93🔥2🤩2🤣1
To continue delivering more exciting stories, we're kindly asking telegram premium users to help us take things to the next level.

https://t.iss.one/javascript?boost
9👍2🔥2🤣1
CHALLENGE

function Animal() {}
const dog = new Animal();
console.log(dog.constructor === Animal);
👍5🔥21
👍13🤔87🤩5🔥1
📄✌️ How to Document Your JavaScript Package

You’ve written some useful code, you want to distribute it.. what next? Useful docs! The Deno team demonstrates the value of JSDoc and writing documentation alongside your usual source code.

THE DENO TEAM
Please open Telegram to view this post
VIEW IN TELEGRAM
8👍2🤩2🤔1🤣1
CHALLENGE

var foo = {};
var bar = Object.create(foo);

foo.a = 1;

console.log(bar.a);
4🔥2
What is the output?
Anonymous Quiz
55%
1
13%
null
28%
undefined
5%
Error
👍19🤔6🤩5🔥1