Q2: Which is more efficient? Code blocks do 2 different things so cannot compare. What gives?
this post was submitted on 26 Apr 2024
6 points (80.0% liked)
JavaScript
2010 readers
18 users here now
founded 1 year ago
MODERATORS
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 :)