JavaScript
31.1K subscribers
1.22K photos
10 videos
33 files
894 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

'use strict';

function getValue() {
return this.value;
}

const obj = { value: 42, getValue };
const fn = obj.getValue;

try {
fn();
} catch (err) {
console.log(err.constructor.name, typeof this);
}
2
CHALLENGE

console.log(
typeof typeof 1,
1 + typeof 1,
2 ** 3 ** 2,
1 + 2 + '3',
1 < 2 < 3,
3 > 2 > 1
);