SHARE

Yo ninjas, in this Ecmascript 6 tutorial, I’ll introduce you to the spread operator in JavaScript, and how we can use it to essentially ‘spread’ the contents of an array.

—– COURSE LINKS:
+ Chrome Canary – https://www.google.co.uk/chrome/browser/canary.html
+ Brackets editor – https://brackets.io/
+ Babel – https://babeljs.io/

———————————————————————————————
You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress & more on the channel homepage…

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

========== JavaScript for Beginners Playlist ==========

https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET

============ CSS for Beginners Playlist =============

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT

============== The Net Ninja =====================

For more front-end development tutorials & to black-belt your coding skills, head over to – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

================== Social Links ==================

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk

8 COMMENTS

  1. I just love your tutorials. Once I get my new job, I'll send you flowers. And by the way, I specialise in English phonology and I just love your accent, especially the "dash" sound as in 'number', 'touched' etc.

  2. window.onload = function() {

    var nums = [3,5,7];

    function addNums(a,b,c){
    console.log(a + b + c);
    }

    addNums(…nums);
    }

    How are 3, 5, and 7 assigned to the a, b, and c in the function? I don't understand that. 3, 5, and 7 are part of an array assigned to the variable named nums… the function is using "addNums", not "nums"… so how are 3, 5, and 7 assigned to a, b, and c?

    Thanks.

  3. I don't know why there are very less views on your videos. Anyone can easily understand. Your teaching style is awesome. I will definitely gonna suggest your channel to my friends. Any thanks brother for all your efforts. God bless you.

  4. I've been wanting to do something like this for weeks, and a short few minute video just gave me the result I wanted to have happen in seconds… So cool! I'm in your debt… :o)

LEAVE A REPLY

Please enter your comment!
Please enter your name here