ECMAScript 6 – Spread Syntax



ECMAScript 6 – Spread Syntax

In this video I explain how you can use the spread syntax in Ecmascript 6 to pass arrays into functions, other arrays, and anywhere else that expects rest parameters.

For code in this video please check out the following git repository:-

https://github.com/lyraddigital/ecmascript6examples.git

You can follow me on twitter at: https://twitter.com/dduckmanton82
You can also follow my business account at: https://twitter.com/LyradDigital
You can also follow my business account on Facebook at: https://www.facebook.com/lyraddigital
Lastly you can support on Patreon at:- https://www.patreon.com/user?u=5536390

I publish an article every now and then on LinkedIn as well. So connect with me on LinkedIn at: https://au.linkedin.com/in/daryl-duckmanton-4478a14a

Watch all my other videos in this series:-

Part 1 – Installing Node and NPM: https://www.youtube.com/watch?v=ek7yPsP8JK8
Part 2 – What is Node JS?: https://www.youtube.com/watch?v=LCu3gPQuPvk
Part 3 – ECMAScript5 Strict Mode: https://www.youtube.com/watch?v=zxMxbK9hAKs
Part 4 – ECMAScript5 – Getters And Setters: https://www.youtube.com/watch?v=7k2tOB0hnG8
Part 5 – ECMAScript5 – Object.create and Property Descriptors: https://www.youtube.com/watch?v=Kl8bx42ueOU
Part 6 – ECMAScript5 – Object Extensibility: https://www.youtube.com/watch?v=_1IiE5lBrF4
Part 7 – ECMAScript5 – Sealing Objects: https://www.youtube.com/watch?v=ephOrCHGW98
Part 8 – ECMAScript 5 – Freezing Objects: https://www.youtube.com/watch?v=yvpUtr0V43o
Part 9 – ECMAScript5 – isArray, indexOf and lastIndexOf: https://www.youtube.com/watch?v=ioPcAg-dc0w
Part 10 – ECMAScript 5 – Every, Sum and ForEach: https://www.youtube.com/watch?v=2aG_P1-Pj9E
Part 11 – ECMAScript 5 – Map and Filter: https://www.youtube.com/watch?v=ikZ0XiqWFoo
Part 12 – ECMAScript 5 – Reduce and ReduceRight: https://www.youtube.com/watch?v=mJ3NehHowAI
Part 13 – ECMAScript 5 – Sorting: https://www.youtube.com/watch?v=n3TDhRj_Ke8
Part 14 – ECMAScript 6 – Default Parameters: https://www.youtube.com/watch?v=byjILf8lrgA
Part 15 – ECMAScript 6 – Default Parameters Continued: https://www.youtube.com/watch?v=byjILf8lrgA
Part 16 – ECMAScript 6 – Rest Parameters: https://www.youtube.com/watch?v=t7sUaofKZMQ

source

You May Also Like