Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
Finally somebody with IIFE solution. I thought I was alone :D
Keep in mind the directions are asking you for the years until the population grows to be greater than or equal to the target population.
One thing to keep in mind is that the directions are asking you to find the number of full years required until the population grows to be greater than or equal to the target population.
That's arrow function notation. Check out: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
You can log the input using the function
console.log()
I can pass four out of five of the test cases. However, I can't see what the fifth test case is in order to correct my code. How do I correct my code without knowing the test cases?