6
JavaScript Daily Quiz and Code Snippets
(app.withcodeexample.com)
Q2: Which is more efficient? Code blocks do 2 different things so cannot compare. What gives?
Oh, Sorry for inconvenience. I will update this question
No inconvenience—I like these kinds of things but then another question had a typo in it (varx
instead of var x
) and one of the options was ‘Error’ but again that was incorrect. It’s probably worth running these snippets just to make sure :)