Working with objects in a JavaScript Arrow Function

The JavaScript Arrow function is a shorter way of writing a function expression. Let us say you have a function expression as below, var add = function (num1, num2) {     return num1 + num2; } The above function can refactor for a shorter syntax using the arrow function as below, var add = (num1, num2) => num1 + num2;  So, as you see, the arrow function provides a convenient and short syntax … Continue reading Working with objects in a JavaScript Arrow Function