DEV Community

Discussion on: Use Closures for Memory Optimizations in JavaScript (a case study)

supportic profile image
Supportic • Edited on

Still waiting for the proof that it's more efficient. ^^ I might be wrong but I think the regular function gets garbage collected after usage unlike the scope of the closure.