paint-brush
Modern Style of Javascript with Arrow Functionsby@srimanikanta
9,645 reads
9,645 reads

Modern Style of Javascript with Arrow Functions

by Sri Manikanta palakollu4mFebruary 24th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Arrow functions are introduced in ES6 which is a modern style for writing javascript functions. Traditional Javascript functions are easy to understand and implement. Arrow functions don’t have inbuilt arguments property, unlike traditional Javascript functions. They are more convenient for callbacks, promises, or for methods like map, reduce, and forEach. The result for the above code will be as same as the previously written code. The syntax for the arrow function with a single argument can be implemented in two ways — or else we can also create the above function in a different way.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Modern Style of Javascript with Arrow Functions
Sri Manikanta palakollu HackerNoon profile picture
Sri Manikanta palakollu

Sri Manikanta palakollu

@srimanikanta

Problem Solver || Started Journey as a Programmer || Techie Guy || Bibliophile || Love to write blog

Learn More
LEARN MORE ABOUT @SRIMANIKANTA'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Sri Manikanta palakollu HackerNoon profile picture
Sri Manikanta palakollu@srimanikanta
Problem Solver || Started Journey as a Programmer || Techie Guy || Bibliophile || Love to write blog

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Learnrepo
Clojure