JavaScript Arrow Function

JavaScript Arrow functions were introduced in ES6. The main advantage is, it has shorter syntax. Let’s take a look. Normal function: Arrow function Here no need to write the function keyword to create a function. If you have only one line of code, then you can omit the braces and write the code in single … Continue reading JavaScript Arrow Function