Rcounter = counter = 1; has to be counter = counter + 1; isn't it?Comment·Article·Jan 30, 2021·What are Closures in JavaScript?