javascript arrow function concatenate mean? I don"t understand it all the time. Please tell me more about it. The code is as follows:
let CURRENT = "NULL";
const renderAuthorize = Authorized => currentAuthority => { //
if (currentAuthority) {
if (typeof currentAuthority === "function") {
CURRENT = currentAuthority();
}
if (
Object.prototype.toString.call(currentAuthority) === "[object String]" ||
Array.isArray(currentAuthority)
) {
CURRENT = currentAuthority;
}
} else {
CURRENT = "NULL";
}
return Authorized;
};
export { CURRENT };
export default Authorized => renderAuthorize(Authorized);
The question is the arrowhead function of the second line of code. What does it mean?