Basics final
Final exam
The final JavaScript exam
Five tasks, each combining several topics of the course. There are no hints: if you get stuck, go back to the topic listed for the task and reread the cheat sheet.
Tips:
- read the statement to the end — especially the edge cases: an empty array, zero, spaces;
- test your function on the examples from the statement by calling it with
console.log(…); - don't change the input data if the task says the original array doesn't change;
- small helper functions make a solution clearer.
Good luck!
5 challengesno hints+20 XP per challenge