
The second edition of a book is always special. When I wrote the first edition, I had about two years of IT experience. The book received positive as well as negative responses. I always wanted to work on the negative responses to make the content better and make the book worth the price. In the meantime, JavaScript evolved a great deal. Many ground-breaking changes were added into the language. The Web is full of JavaScript, and imagine a world without the Web. Hard, right?
This second edition is a much improved version that teaches the fundamentals of functional programming in JavaScript. We have added much new content in this second edition; for example, we will be building a library for building web applications using functional concepts, and we have added sections on testing as well. We have rewritten the book to match the latest ES8 syntax with many samples of async, await patterns, and a lot more!
We assure you that you will gain a lot of knowledge from this book and at the same time you will have fun while running the examples. Start reading.
I remember the first code that I wrote for Juspay Systems in my first job as an intern. Coding was fun for me; at times it is challenging, too. Now with six years of software experience, I want to make sure I pass on all the knowledge I have to the community. I love teaching people. I love to share my thoughts with the community to get feedback. That’s exactly the reason I’m writing a second edition of this book.
I have to acknowledge few people who have been standing right next to me in all phases of my life: my late father Belgin Rayen, mother Susila, Kishore (brother-in-law), Ramya (sibling), and Joshuwa (my new little nephew). They have been supportive and pushed me harder to achieve my goals. I want to say thanks to Divya and the technical reviewer of this book, as they did a wonderful job. Luckily, I have a wonderful coauthor in Srikanth, who did an amazing job as well.
Finally, I want to give special thanks to Bianaca, Deepak, Vishal, Arun, Vishwapriya, and Shabala, who have added joy to my life.
Please reach out to me at anto.aravinth.cse@gmail.com with any feedback.
—Anto Aravinth
I would like to thank Apress for providing me a second opportunity to author. I would also like to thank my family, especially my dear wife Sonia Madan and my four-month-old son Reyansh for supporting me throughout this stint. I’m always reachable at Vishwanath.srikanth@gmail.com for any feedback or questions.
—Srikanth Machiraju

has been in the software industry for more than six years. He has developed many systems that are written in the latest technologies. Anto has knowledge of the fundamentals of JavaScript and how it works and has trained many people. Anto is also does OSS in his free time and loves to play table tennis.

has over ten years of experience as a developer, architect, technical trainer, and community speaker. He is currently working as Senior Consultant with Microsoft Hyderabad, leading a team of 100 developers and quality analysts developing an advanced cloud-based platform for a tech giant in the oil industry. With an aim to be an enterprise architect who can design hyperscale modern applications with intelligence, he constantly learns and shares modern application development tactics using cutting-edge platforms and technologies. Prior to Microsoft, he worked with BrainScale as Corporate Trainer and Senior Technical Analyst on application design, development, and migrations using Azure. He is a tech-savvy developer who is passionate about embracing new technologies and sharing his learning via blog and community engagements. He has also authored the “Learning Windows Server Containers” and “Developing Bots with Microsoft Bot Framework,” blogs at https://vishwanathsrikanth.wordpress.com . He runs his own YouTube channel called “Tech Talk with Sriks” and is active on LinkedIn at https://www.linkedin.com/in/vishsrik/ .

has been working as a Tech Lead with a large scientific publisher, with more than ten years of experience as a full stack developer with JavaScript technologies on front-end and back-end systems. He has been reviewing technical books and articles for the past few years and contributes to the developer community as a trainer, blogger, and mentor.