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
2041 readers
4 users here now
founded 2 years 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 :)