I’m doing the ES6 course - Use Arrow Functions to Write Concise Anonymous Functions for the second time, and I need some explanation.
I can not understand why write a function if it is to return a value?
Why not give it this value directly?
Why create a function if it’s not reused? Is not this the purpose of a function?
Thank you in advance for your help