Arrow syntax

js
react

#1

I was following this guide:

https://goshakkk.name/instant-form-fields-validation-react/

which i understood for the most part, but this line baffles me:

handleBlur = (field) => (evt) => 

how come and we can use => twice here, and what does it do? How does it work? A link to an existing explanation is also fine, given i can’t find that either


#2

I should really learn to google better:

https://stackoverflow.com/questions/32782922/what-do-multiple-arrow-functions-mean-in-javascript