this post was submitted on 26 Apr 2024
6 points (80.0% liked)

JavaScript

2010 readers
16 users here now

founded 1 year ago
MODERATORS
 

I have created this app for javascript beginners. Users can attempt daily quiz and see the explanation after each answer. Also providing the frequently used code snippets, you can download beautiful images of code snippets and quiz. Please provide your feedback.

you are viewing a single comment's thread
view the rest of the comments
[–] dave 2 points 7 months ago (2 children)

Q2: Which is more efficient? Code blocks do 2 different things so cannot compare. What gives?

[–] harendra21@programming.dev 1 points 7 months ago (1 children)

Oh, Sorry for inconvenience. I will update this question

[–] dave 2 points 7 months ago

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 :)