Modern JavaScript Tutorial #4 – Functions




πŸ’» Get the full Modern JavaScript (novice to ninja) course from Udemy. Discount auto applied:
https://www.thenetninja.co.uk/udemy/modern-javascript

In this modern JavaScript tutorial we’ll take a look at functions – function declarations, function expressions, arrow functions and more…
—————————————-

πŸ±β€πŸ’» πŸ±β€πŸ’» Course Links:

+ Course files – https://github.com/iamshaunjp/modern-javascript

Original source


37 responses to “Modern JavaScript Tutorial #4 – Functions”

  1. Tried searching for ages for the answer; but what colour theme is he using and how do I get the light grey unused variable highlighting. Ps. Super props to NetNinja, bought his Udemy Vue course, but just doing a quick refresh and picking up a few tips I've missed or forgotten.

  2. do i make something wrong ? because this code it's not running for me .

    const bill = (products, tax) => {

    let total = 0;

    for(let i = 0 ; i < products.lenght; i++){

    total += products[i] + products[i] * tax;

    }

    return total;

    };

    console.log(bill([10,15,30], 0.2));

  3. Man! You are more than AWESOME! I am a big fan of Your tutorials and in my opinion this one is the most understandable material about modern js I've seen since now, comparing even with paid ones! Thanks for what You are doing for us!

  4. I started off by watching your channel, but JavaScript seemed weird to me. I'm someone who likes to know "why?" Why does this do this, and how? How could I use this in other situations? Saying this, I decided to step back to Java. Really recommend it and though it's a bit annoying with what it provides, like the jButton, but I recommend programming your own button. Fun, and feels great

Leave a Reply