Skip to content

Instantly share code, notes, and snippets.

View Go7hic's full-sized avatar
πŸ‘“
πŸ‘–

YiChu Go7hic

πŸ‘“
πŸ‘–
View GitHub Profile
@Go7hic
Go7hic / πŸ“Š Weekly development breakdown
Last active October 29, 2020 01:01
πŸ“Š Weekly development breakdown
JavaScript 15 hrs 55 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Žβ–‘β–‘β–‘β–‘β–‘β–‘β–‘ 63.4%
JSX 6 hrs 15 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 24.9%
JSON 1 hr 3 mins β–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 4.2%
LESS 57 mins β–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 3.8%
HTML 28 mins ▍░░░░░░░░░░░░░░░░░░░░ 1.9%

@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) {