ES6 – A beginners guide, following my own learning

Welcome

For my employment we have been asked to learn/revisit ES6 as we begin to transfer the JS in our codebase into ES6, if you’re here then its likely you already know what ES6 is, if you don’t…let me summarise below.

What is…


This content originally appeared on DEV Community and was authored by Stefan Wright

Welcome

For my employment we have been asked to learn/revisit ES6 as we begin to transfer the JS in our codebase into ES6, if you're here then its likely you already know what ES6 is, if you don't...let me summarise below.

What is ES6?

Well, ES6 stands for ECMAScript 6 which has been around now since June 2015, it is also known as ECMAScript 2015. ECMAScript itself has been around since June 1997 with an annual review of the standards in place. ECMAScript was invented to standardize JavaScript meaning that browsers could be built around that standard ensuring support of the different levels. ES6 introduces us with some new tools which I will go into in more detail in this series, for example:

  • Classes
  • Arrow Functions
  • New Variable scoping (var, let, const)
  • Template Literals
  • Object and Array Destructuring
  • Default Parameters
  • Rest and Spread Operators

Many ES6 tutorials will also cover various Array "helpers". I'll be looking to touch on these too as they are frequently used, but I have found often referred back to as a reminder of how to write it "properly". So those are:

  • forEach
  • map
  • filter
  • find
  • every/some
  • and reduce (save the hardest til last!)

In this series, for each of the above I will try to include a variety of examples and real-world use cases


This content originally appeared on DEV Community and was authored by Stefan Wright


Print Share Comment Cite Upload Translate Updates
APA

Stefan Wright | Sciencx (2021-08-31T13:14:49+00:00) ES6 – A beginners guide, following my own learning. Retrieved from https://www.scien.cx/2021/08/31/es6-a-beginners-guide-following-my-own-learning/

MLA
" » ES6 – A beginners guide, following my own learning." Stefan Wright | Sciencx - Tuesday August 31, 2021, https://www.scien.cx/2021/08/31/es6-a-beginners-guide-following-my-own-learning/
HARVARD
Stefan Wright | Sciencx Tuesday August 31, 2021 » ES6 – A beginners guide, following my own learning., viewed ,<https://www.scien.cx/2021/08/31/es6-a-beginners-guide-following-my-own-learning/>
VANCOUVER
Stefan Wright | Sciencx - » ES6 – A beginners guide, following my own learning. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/08/31/es6-a-beginners-guide-following-my-own-learning/
CHICAGO
" » ES6 – A beginners guide, following my own learning." Stefan Wright | Sciencx - Accessed . https://www.scien.cx/2021/08/31/es6-a-beginners-guide-following-my-own-learning/
IEEE
" » ES6 – A beginners guide, following my own learning." Stefan Wright | Sciencx [Online]. Available: https://www.scien.cx/2021/08/31/es6-a-beginners-guide-following-my-own-learning/. [Accessed: ]
rf:citation
» ES6 – A beginners guide, following my own learning | Stefan Wright | Sciencx | https://www.scien.cx/2021/08/31/es6-a-beginners-guide-following-my-own-learning/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.