Plus500 interview question

Write a JavaScript method that gets some callback function as a parameter, holds callback's result internaly for use in the next runs of the same function.

Interview Answer

Anonymous

4 June 2024

This goal can be archived using JavaScript closure.