DEV Community

Discussion on: Fundamentals of Functional JavaScript

Collapse
ashleyo profile image
Ashley Oliver

a. Early Returns

There is a mistake in your test case. f(12) should clearly return 13.

Collapse
anmshpndy profile image
Animesh Pandey Author

Yep, you are right! Thanks a lot!