JavaScript coding interview — Closure — Part 7

Sathish Kumar Arumugam
1 min readSep 6, 2020

Closure

Photo by Martin Sanchez on Unsplash

Currying

Borrowing

sum(a, b)/ sum(a)(b)

Caching

Once method (implement a function that can be called only once)

--

--