Beginner JavaScript Tutorial – 11 – Global & Local Variables

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

48 responses to “Beginner JavaScript Tutorial – 11 – Global & Local Variables”

  1. WonderfulMemoriEZ Avatar

    oh bucky whasup bb am kelsey you remember that dick oh i miss you

  2. WonderfulMemoriEZ Avatar

    oh i'm kelsy let's get fucked <3

  3. GoogiKw Avatar

    Thanks For The Tutorials !

    Anybody is able to explain

    SET !DATASOURCE Test_data.csv
    SET !VAR1 {{!LOOP}}
    ADD !VAR1 1
    SET !DATASOURCE_LINE {{!VAR1}}
    SET !EXTRACT_TEST_POPUP NO
    SET !ERRORIGNORE YES

    Why we use ERRORIGNORE YES

    Thank You

  4. AJay Gupta Avatar

    Kelsey must be regretting herself, for dumping Bucky!!

  5. Jo-Jo BankS Avatar

    I am Entertained!

  6. PAUL OTUOMA Avatar

    That's hillarious

  7. Buffryni Avatar

    <!doctype html>
    <html>
    <head>
    </head>
    <body>
    <script type="text/javascript">
    // The variables which is used outside the function can be used anywhere in the programm(g(Global Variable) but the one which is created inside the function can be only insie the functioon(Local Variable) //
    var girl = " Kelsey "; //Global//
    function spit(){
    document.write(girl);
    }
    spit();
    document.write(girl);

    function xpit(){
    var boy = "Bucky";
    document.write(boy); // Local //
    }

    xpit();
    document.write(boy);

    </script>
    </body>
    </html>

  8. babydoggy Avatar

    I want to ask if it is fine to use the parameter to pass the info into the function instead of using local variables.

  9. Xhulio Balliu Avatar

    WTF girlfriend in fourth grade. Im in 9 grade and havent got a gf yet.

  10. Sumanth N S Avatar

    you are good but please don't act like you are a cool dude
    1

  11. violet rose Avatar

    this was really helpful 🙂

  12. Kshitiz Chaudhary Avatar

    Wait. What do I put in my girl variable?

  13. Zoro Ale Avatar

    .Poor Kelsey lol you made her as Local variable so noone can acces her…..We dont even can find her by google … 😉

  14. Gavin Hardison Avatar

    kelsey was a spitter

  15. Jude Li Eric Avatar

    I hope Kelsey is still single

  16. Blair Group Avatar

    So did Kelsey finally get back with to spit on it ?

  17. B BC Avatar

    Did Kelsey let you hit?

  18. B BC Avatar

    Did Kelsey blow you at the theatre? ….used the popcorn butter as lube

  19. Flore Loriz Avatar

    This tutorial is only for GIRLS!!! There is a hidden message, open the transcript and see what texts stays on the 0:00 mark!!

  20. RithyRos1 Avatar

    wedding singer is my fave movie of all time lolol……"THEY WERE CONES!"

  21. Biff Avatar

    Love the tutorials, hate the random gabbing about unrelated shit. BUT, when you say 'play with her gigapet'… Whatdya mean?

  22. Kajus Avatar

    I guess Kelsey was a spitter

  23. John Lawson Avatar

    var x = "daisy";
    function myFunction() {
    document.getElementById("demo").innerHTML = x;
    myFunction()
    document.getElementById("demo").innerHTML = x;
    Why isnt this printing twice as daisy ? coz the var is outside the function

  24. Vuk Ivanovic Avatar

    did kelsey call u after this tutorial?

  25. Arshad Hussain Avatar

    funny guy makes programming cool..thanks

  26. vamshi krishna Avatar

    nice explanationssss and funny guy……………

  27. A Jones Avatar

    Great explanation …. helped with my 2 hours before exam panic attack 🙂

  28. David M Avatar

    Please just show us, don't go ahead and show us. And please make variables, don't go ahead and make them. Also, you never explained what would happen if you define a local variable with the same name in different functions, or if you define a global variable with the same name as a local variable..

  29. Dhiranjan Kumar Avatar

    Kelsey weds Bucky = False :p

  30. Daniel Guzman Avatar

    You make programming so much fun with your stories lol! Thanks for your tutorials

  31. dmc6416 Avatar

    oh mate shut up with the weird life story

  32. tech OS Avatar

    i tryed the funcking code it dosent work

  33. Technology Apprise Avatar

    Hope your present gf isn't watchin ! nice tutorial !!

  34. John Ludena Avatar

    Bucky, you freakin' pimp you. Loving all the videos man. Thanks so much for doing these.

  35. Mensch Lee Avatar

    Sorry for stupid question, but could you give me an example of practical use of local variables? When it's kinda "stuck" in function, why not just use global variables all the time? The global variable looks much more flexible to me right now.
    And thanks Bucky for the video series, i really enjoy it. You're great online-teacher, not boring at all as many others.

  36. j oy Avatar

    starting voice is cool… 🙂 🙂 🙂

  37. Amit Agarwal Avatar

    very disatracting video.

  38. 1,000 Subs No Video? Plz Help. Avatar

    For everyone that doesn't know gigapet was her pussy

  39. HeahPvP Avatar

    programming is actually better than twituhc or mcsq

  40. Vivek Apollyon Avatar

    Bet Kelsey won't like it when you spit her name out!

  41. Vivek Apollyon Avatar

    Bet Kelsey won't like when you spit her name out!

  42. Forbidden-Translations Avatar

    That feel when no gf for programming.

  43. manan kothari Avatar

    Played with her gigapad…. Gigggggydiddy!

  44. Coco Martin Avatar

    thank you so much for spending time to make this kind of videos, really helps a lot 😉

  45. KomsKala Kangeman Avatar

    heheheh man: kelsey ,,,
    will never come back again .
    will confirm another , hehheehehheh

Leave a Reply

Your email address will not be published. Required fields are marked *