Hey @nhymfa31
When you declare a variable in JS you have to assign a value to it using the assignment operator otherwise it will be undefined so like what is happening here you are incrementing an undefined variable.
This will result to NaN
so just assign the variable to a value like so
var a=23;
Then you can increment the value,either by doing this