closuresJavaScriptClosuresHardHow can closures create private variables?1A variable in an outer function is accessible only to inner functions it returns2By declaring variables with the private keyword3By using Object.freeze4By storing them on windowBack to list