All Questions
Tagged with local-variable parameters
1 question
0
votes
2
answers
1k
views
Reassign parameter to local variable
On Stack Overflow I frequently see questions with code in the following style:
function funcName(parameter) {
let variable = parameter;
// rest of function uses variable rather than parameter
}
...