r/javascript • • Aug 09 '17

Test your Javascript skills with our fun Javascript test!

https://www.atlascode.com/blog/test-your-javascript-skills-with-our-fun-javascript-test/
1 Upvotes

10 comments sorted by

View all comments

8

u/spryes Aug 09 '17

Wasn't keen on this test's UX... it's not even clear what you should type in 'Other' given none of the choices are correct, such as #6.

#4 also claims it's undefined which doesn't seem correct

1

u/LukaLightBringer Aug 09 '17

var declarations are hoisted to the top of the scope so none of the references in #4 are to window.variable1