Create a Redux Store

Tell us what’s happening:

I dont get why this doesnt pass, please help me!

Your code so far

const reducer = (state = 5) => {
  return state;

// Redux methods are available from a Redux object
// For example: Redux.createStore()
// Define the store here: 
let store = createStore(reducer);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:


I found the solution:

let store = Redux.createStore(reducer);



The answer is just translating this line: “Declare a store variable and assign it to the createStore() method, passing in the reducer as an argument.”