lcv ++ corrected

an anonymous user · September 16, 2020 · NodeJS
function addOne()
{
   for( var lcv = 0; lcv < arguments.length; lcv++)
{
     console.log(arguments[lcv] + 1)
   
}  

}

var values = addOne(1, 2, 3, 4, 5)

/*
2
3
4
5
6*/
    

Comments

Please sign up or log in to contribute to the discussion.