public/subjects/count-up-to/README.md

222 B

Count up to

Instructions

Declare upTo function that takes an end number argument.

You must log each number starting at 0 until you reach the end value (included)

Example: upTo(3) would log: 0 1 2 3