I have an arrow function in React like this:
const a = (props) => {
const b = () =>{
return ...
}
return ...
}
My question is: Is a an arrow function and is b another arrow function within the arrow function? Can I call b outside of a? How do I export method b?