All interview questionsIn JavaScript, give an example of lexical closure.IntermediateAnswerA counter function retains its private count.