Demystifying JavaScript Closures, Callbacks and IIFEs

Actually the article got it right. A closure is an inner function that has access to an outer function’s variables. And in fact the MDN article you referenced says the same.