What is the use of arrow function in Angular 2?
They are additionally called lambda features in different languages. Using fats arrow (=>) we drop the want to use the 'function' keyword. Parameters are handed in the angular brackets <>, and the characteristic expression is enclosed inside the curly brackets {}.
BY Best Interview Question ON 29 Oct 2019
Example
items.forEach((a) => {
console.log(a);
incrementedItems.push(a+1);
});