Generators are very useful things in programming, in this series we will learn how to use generators and see how we can apply generators to common programming challenges.
You must complete the generator function that must increment a counter by 1 each time also if the argument is supplied (will always be a number) you must then change the counter to that number.
The counter must start at 1 when the generator is initialized
More Info: Iterators and Generators (JavaScript), Generators Overview (PHP)