Day 4 LeetCode challenge: Counter II - 30 days of JavaScript.
Welcome to day four of our 30 days of JavaScript series challenge. Today, we will be solving the Counter II challenge. The challenge says: Write a function createCounter. It should accept an initial integer init. It should return an object with three...