Lesson 8 of 17 · JavaScript
JavaScript 2: functions, scope and arrow functions
Objective
Learn to split a program into functions: small blocks that receive data, do a precise job and return a result. You will also understand the scope of variables (who sees what), closures and arrow functions, which are everywhere in modern JavaScript.
This lesson is part of the full course
Unlock Web Development: HTML, CSS and JavaScript to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.