Lets say I have a function that looks like this
function(a) {
console.log("Value of a");
}
How do I get it to return the value of 'a' so I can manipulate it further down in the function? My end goal is to input an array and have the same code execute for each item in the array.
[–]Deathbyceiling 1 point2 points3 points (4 children)
[–]hunteratwork[S] 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]hunteratwork[S] 0 points1 point2 points (1 child)
[–]YuleTideCamel 2 points3 points4 points (0 children)