Define an Action Creator help i'm stuck here

Tell us what’s happening:

Your code so far


const action = {
  type: 'LOGIN'
}
 actionCreator () {
     return action;
 }

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/redux/define-an-action-creator

How do you create a function ?

 function actionCreator () {
     return action;
 }

or

 const actionCreator = () => {
     return action;
 }

i didn’t understand what you want to say

look at the difference of how you defined a function and what I wrote