Ad
  • Default User Avatar

    hey guys I'm just starting my journey JS and having a challenge with this kata. From the examples given in the description it looks there should be a way to access the existing value of the variable we want to increase with the add() function. I figured the first time the function to called by a variable without a value i could just 'return n'. but that doesn't help with a variable with an existing value. can someone tell me a better approach?