402 B
402 B
title |
---|
Define an Action Creator |
Define an Action Creator
Hint 1
A function is defined using the following syntax:
functionName(){
console.log("Do something");
}
Where console.log can be changed as per the need.
Hint 2
A value is returned using the return
keyword
Solution
function actionCreator(){
return action;
}