Here's an easy example
Change one thing to fix it. Answer is at the bottom of this post.
function sum(a, b) {
return a b;
}
There's 100s more of these!
- Easy, normal and hard difficulties
- Fix JavaScript, HTML and CSS
- You're guaranteed to learn new syntax, concepts, selectors and elements
Play 'Fix a function!' today and make it a daily habit
Answer: return a + b;
Top comments (2)
This is just awesome. Very nice for those who knows basics.
nice work I am beginner javascript developer.. this exercises has helped me very much