DEV Community

Discussion on: Performance: Create a new variable or reassign the value?

Collapse
 
deexter profile image
deexter

I think performance meant in time spent to do this operation will be same, but memory consumption will be higher in last example.