What is a store in JavaScript?
1) A JavaScript object that holds the application's state and provides helper methods
2) A function that dispatches actions and registers listeners
3) A log of various actions that change the state of stores
4) A middleware used to process data in Redux