Skip to content

Instantly share code, notes, and snippets.

View vulchivijay's full-sized avatar
🕵️‍♂️
Exploring new web technologies

Vijaya Kumar V vulchivijay

🕵️‍♂️
Exploring new web technologies
  • HCL Engineering and R&D Services
  • Chennai
View GitHub Profile
@vulchivijay
vulchivijay / JS Quiz Answer Explanations.md
Created June 27, 2018 09:24 — forked from MattSurabian/JS Quiz Answer Explanations.md
My attempt to explain the answers for David Shariff's feelings hurting JS quiz found at: davidshariff.com/js-quiz/

Are your feelings hurt?

If you rushed through David Shariff's JS Quiz or are just new to JS they might be. I know mine were. After I dried my eyes, I took the quiz again, this time very slowly trying to get at the meat behind each answer. Below is my attempt to explain each question's answer and offer some interesting permutations so that others can move beyond their hurt feelings and come out the other side better JS developers.

I initially thought I'd turn this into a blog post but think it's probably better as a gist.

Question #1

Don't over think it.

var foo = function foo() {