Arrow Functions in JavaScript: A Simpler Way to Write Functions
The tradition way of writing JavaScript Functions is:
// a function which return square of a number
function square(x){
return x * x;
}
And there's nothing wrong. It is the way most JavaScript's
alokcodes.hashnode.dev4 min read