* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
496 B
496 B
title
title |
---|
Define an Action Creator |
Define an Action Creator
Hints
Hint 1
A function is defined using the following syntax:
function 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
Solutions
Solution 1 (Click to Show/Hide)
function actionCreator() {
return action;
}