Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Lily Romano
    @Lilyheart
    And at the top you see a very similar line function nextInLine(arr, item) {
    Even tho those lines are similar (both have nextInLine with two things in parenthesis, the first one in the function definition because it has the function keyword at the start.
    That makes the second one the function call.
    In the function definition, the things inside the () are called parameters. In the call, they are called arguments.
    After the function declaration, testArr was defined (as an empty array).
    That next to last line calls nextInLine and sends two arguments (kinda like a bash command).
    Lily Romano
    @Lilyheart
    The function takes those arguments and assigned their value to it's parameters (still like bash and a bash script). The function keeps them in the same order (kinda like bash script does with $1 and $2).
    So arr gets automatically defined as the first argumentand item is defined at the second argument. In the above code it's the same as if it said
    var arr = testArr; //The first argument and the first parameter.
    var item = 1;//The second argument and the first parameter.
    Jonathan Herman
    @lantech19446
    sorry had to run out real fast to take my wife to work 2hrs early
    Lily Romano
    @Lilyheart
    No worries!
    Jonathan Herman
    @lantech19446
    ok that makes way more sense
    Lily Romano
    @Lilyheart
    I’m glad! It’s a bit tricksey and I had to take a step back the first time I saw that concept.
    Jonathan Herman
    @lantech19446
    I still think I need to finish the JS videos too because there's like no explanation to speak of but at least i'm on 200 finally lol
    Lily Romano
    @Lilyheart
    Yay 200! Back to videos! I’ve gone back to my udemy videos as well.
    Jonathan Herman
    @lantech19446
    it's just so hard to listen to this guy lol
    Lily Romano
    @Lilyheart
    Maybe try Khan academy’s lessons? I think it was @dewhiz that recommened it but I can’t be sure. I’ve done some of the math lessons & videos there.
    Jonathan Herman
    @lantech19446
    that's one of the free ones right?
    Lily Romano
    @Lilyheart
    Yup yup!
    Jonathan Herman
    @lantech19446
    nice, I think I'll go sign up for it I can't stand ben stein much longer
    Lily Romano
    @Lilyheart
    :laughing:
    Jonathan Herman
    @lantech19446
    I wish I could upload my own avatar lol
    Lily Romano
    @Lilyheart
    On KA? Yeah. But I kind came to like my little leaf dude and watching him grow up.
    Jonathan Herman
    @lantech19446
    I didn't realize they grew in that moment I was just thinking because in Hinduism we call the different forms of Krishna avatars lol
    I wonder which JS course i should take
    Jonathan Herman
    @lantech19446
    @Lilyheart any opinions?
    Lily Romano
    @Lilyheart
    Lemme peek
    Intro to JS
    Jonathan Herman
    @lantech19446
    ok, I was thrown off by the fact that it was geared towards like drawing and didn't know what processingJS is.
    Lily Romano
    @Lilyheart
    Announcing a new MontCode Event - http://montco.de/pass-a-pen-rules-1
    Jonathan Herman
    @lantech19446
    I might get in on this, Rob asked me about doing this with him a day or two ago. Maybe by then I'll be able to do JS a little better and make something cool
    Lily Romano
    @Lilyheart
    You can use as little or as much JS as you want!
    Jonathan Herman
    @lantech19446
    yea but I feel like it would be the best challenge and learning exercise for me right now
    Alex H.
    @Alexander-Huh
    hello
    hello
    David Castner
    @davidjcastner
    Alex H.
    @Alexander-Huh
    http://codepen.io/Alexander-Huh/pen/NrKEYo @davidjcastner I need help with the HTML
    David Castner
    @davidjcastner
    Lily Romano
    @Lilyheart
    @davidjcastner @Alexander-Huh type this in the java console java.lang.System.out.println(Array(16).join('wat' - 1) + ' Batman!’)
    Robert Maylie
    @rmaylie9560
    Hey all!
    @Lilyheart howd the meetup go? i saw the internet was a little better this time around
    Lily Romano
    @Lilyheart
    It was amazeballs
    @vidman22_twitter @dcpking_twitter @davidjcastner @Alexander-Huh @angelinasimms and three others (if my math is right here - Kevin, Rich and Johan) all came together for an incredible meeting. We nearly filled the room. Nine people total
    Robert Maylie
    @rmaylie9560
    Wow thats great, what did you guys cover?
    are kevin rich and johan of monco descent?
    MCCC
    Lily Romano
    @Lilyheart
    None of the above!
    All 5 new people came from seeing the post on Meetup.
    I even met a fellow pebble watch user! Only second person I've seen "in the wild" @vidman22_twitter !
    Robert Maylie
    @rmaylie9560
    hahaha in its native habitat...
    Lily Romano
    @Lilyheart
    I'll let others chime in about what was covered as I spend most of the time going over MontCode and getting people set up with FreeCodeCamp.