Can JavaScript access loop variables’ original names?
In the following example code, the function "getOriginalName" does not exist, but that is what I am looking for: for(let variable of [var1, var2, var3]) { console.log("Value: " + variable); console.log("Name: " + getOriginalName(variable)); } In my dreams, getOriginalName would…