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
22 responses to “Beginner JavaScript Tutorial – 9 – The return Statement”
how can i hack a gmail account with javascript i have seen people do it before, Btw great Video Keep up the good work!! 🙂 🙂 🙂
oh wow thank you so much! i finally understand how this is used!!
It's easy for me because I already learn about c++ and c and this Javascript is just like them, so if you want to learn Javascript you have to watch the c++ and c playlist to have a background about java and Javascript.
Python Developers Be Like: I knew this, millions of years ago. 😀
Then why don't you just print it out instead of returning it, and THEN printing it out?
great
What if we want to have multiple return values?
Danke Bucky ?????✌️?
Your function's result does cleary have something to do with this tutorial (number 9). Very nice tutorials. Thank you.
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! 🙂
nai nai nai nai nai
learning javascript is real fun with your wonderful tutorials….thanks!!!
Great tutorial, you make it extremely easy to understand, by breaking it down like that ! Thanks man.
Awesome, thanks!
what kind of software need to install ??
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.
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 🙂
Hey I'm trying to make a simple calculator using prompt in javascript but I can't get the math part to work can anyone help?
Easy to understand. Appreciate it!
thanks for the video, very helpful
this is really teach me what is a return. Thanks
you can do it like
function Maths (ans){
document.write(ans);
}
Maths (21+22)
is'nt it easier