es6

06. Convert Const Let πŸ‘©β€πŸŽ“πŸ‘¨β€πŸŽ“

πŸ—οΈ Convert to ES6 Syntax

Work with a partner to implement the following user story:

  • As a developer, I want to be able to recognize and implement newer ES6 syntax.

Acceptance Criteria

  • It’s done when I understand the application’s functionality in index.html and index.js.

  • It’s done when I have converted var to const or let based on the use case.

  • It’s done when I have converted all functional expressions to arrow functions.

πŸ’‘ Hint

When is it not suitable to use arrow functions?

πŸ† BONUS

If you have completed this activity, work through the following challenge with your partner to further your knowledge:

  • Take one of the previous exercises and convert it to ES6 syntax. How can you shorten arrow functions even further?

Use Google or another search engine to research this.


βœ… Solutions

Solutions Click Here