Tricky Closure
Closure is not capturing a value, it is preserving access to a variable.
Asked in frontend interviews at ThoughtSpot and Amazon
Closure is not capturing a value, it is preserving access to a variable.
Asked in frontend interviews at ThoughtSpot and Amazon