This assignment is designed to give you an introduction to some features in ECMAScript 2015, otherwise known as ES6. From this point on, you are expected to use these features.
Within this assignment, you'll be working with the following features of ES6:
- Variable declarations with
let
andconst
- Arrow functions
There are three components to this lab exercise:
- Reviewing the
let-const-examples
directory - Working through the exercises in the
let-const
directory - Working through the exercises in the
arrow-functions
directory
Fork and then clone this repository into your ~/codefellows/301
directory, and navigate into that repo. Work on your fork on non-master branches. As you work, remember to add, commit, and push regularly.
- See the adjacent
let-const-examples
folder to compare examples of function declaration usinglet
andconst
with the notation you have been using previously. To work through the examples, openexamples.html
in the browser, open your developer console, and follow the directions on the screen. - Once you complete the steps in the
examples.html
file, you are ready to move on to thelet-const
folder.
- The
let-const
folder has its ownREADME.md
file with specific instructions, so read through and follow each step as you complete this exercise. That file also contains the submission instructions for this assignment. - Once you have completed and submitted this assignment, you are ready to move on to the
arrow-functions
folder.
- The
arrow-functions
folder has its ownREADME.md
file with specific instructions, so read through and follow each step as you complete this exercise. That file also contains the submission instructions for this assignment. - Once you have completed and submitted this assignment, you are finished with the ES6 practice lab.