Write a function createCounter that returns an object with increment and getValue methods. The count variable must be private — enforced via closure, not convention. Two counters created separately must not share state.
createCounter
increment
getValue
Click Run to test your code