Skip to content

Instantly share code, notes, and snippets.

View pateatlau's full-sized avatar
🎯
Focusing

Laldingliana Tlau Vantawl pateatlau

🎯
Focusing
View GitHub Profile

@kangax's ES6 quiz, explained

@kangax created a new interesting quiz, this time devoted to ES6 (aka ES2015). I found this quiz very interesting and quite hard (made myself 3 mistakes on first pass).

Here we go with the explanations:

Question 1:
(function(x, f = () => x) {