Beginner JavaScript Tutorial – 9 – The return Statement




Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts

Original source


44 responses to “Beginner JavaScript Tutorial – 9 – The return Statement”

  1. Hi there! Your tutorials are easy to understand especially for people like us who are beginners. Your teaching technique is awesome breaking it into bits and pieces and is very good for retention of informations. Thanks a lot for your effort for putting this all for a novice like me.

  2. How can I let a user type the numbers dynamically? Like instead of letting the user type in the numbers instead of saving 3 and 6 in the program for addition. A function that adds any number instead of just changing the code each time for new numbers

  3. Awesome video I Had Problems With Functions And Specially With The Return Statement But After Watching This Video Now I Have A Good Understanding And A Clear Idea Of Functions And Their Return Statements Or Whatever They Call It :). Thank You Very Much Bucky

  4. i am just thinking why you have 13 dislike if this video you made is great and easy to understand?? thumbs up for those people who loves this awesome tutorial! ๐Ÿ™‚

  5. why would you use parametersย when variables are better? or am i not understanding parameters right? it seems like its doing the same job as a variable but more convoluted? i have a super basic background in java script so parameters are new to me.

  6. can't you just do:
    function add(a,b) {
    ย  ย  ย var c = a+b;
    ย  ย  ย document.write(c);
    }

    add(6,9);

    i dont understand why you need to use the return ๐Ÿ™ can someone pls help me understand it, thanks ๐Ÿ™‚

Leave a Reply