JavaScript – Master Modern JavaScript Concepts Through Exercises and Examples by Sekuloski Rick

JavaScript – Master Modern JavaScript Concepts Through Exercises and Examples by Sekuloski Rick

Author:Sekuloski, Rick
Language: eng
Format: epub
Published: 2022-06-22T00:00:00+00:00


Chapter 3 – Intermediate to Advanced JavaScript

In the last chapter we covered some basic to intermediate JavaScript features and in this chapter, we will continue to learn new things that for some of you will be a little harder but these are the features that will make you great developer. Let us start this chapter by learning more about arrow functions.

Arrow functions

ES6 introduced new way how we can create functions using the arrow symbol (=>). Before the arrow functions we used fairly simple syntax like this:

const message = function(name) {

return "Hi there " + name;

}

let greeting = message('Andy');

console.log(greeting);



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.