Implement an Increment Function

# Introduction In this challenge, we will implement an increment function. The task is to write a function called `addOne` that, when invoked, increments the output value by 1. The function should return a sequential count each time it is called. Global variables are not allowed, and variables should only be defined inside the `addOne` function.

|60 : 00

Click the virtual machine below to start practicing