Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Sonju
    @Sonju
    How does this relate to DOM
    Imanuel Gittens
    @imanuelgittens
    I like the videos. Are you guys gonna give your viewers any practical work to do?
    Madelene Campos
    @Madelene
    This message was deleted
    Imanuel Gittens
    @imanuelgittens
    Sweet! Thanks for the info :)
    Sonju
    @Sonju
    Thanks Alexis!
    John Hitz
    @johnhitz
    In your name example does name="alexis" create a new variable? So me is a variable with a property and name is a new var?
    Alexis Abril
    @alexisabril

    Yes, name would be a new variable in that scenario. We used the shorthand syntax so it was something akin to:

    var me = {}, name = {}

    or name = “alexis”
    “name” itself, is a new variable in memory which points to whatever is declared to the right of the “="
    Sonju
    @Sonju
    Pronunciation is correct!
    John Hitz
    @johnhitz
    And in me.name, name is a property of me???
    Madelene Campos
    @Madelene
    Thanks!
    Russell Smith
    @rjsmith25
    Thanks Justin and Alexis for the lesson :smile:
    Lyndsey Browning
    @lyndseybrowning
    Thanks for this one guys. I finally have an understanding of why hash maps are quicker than arrays.
    Alexis Abril
    @alexisabril
    Awesome, thanks everyone for joining!
    Justin Meyer
    @justinbmeyer
    Yep, thanks!
    John Hitz
    @johnhitz
    Thanks! Great video!
    Bruno Genaro
    @brunogenaro
    I just missed the class today.. is there any way to watch now?
    Bruno Genaro
    @brunogenaro
    thanks
    Mauricio Sanchez Duque
    @sheva29
    channel contains all the videos of the class
    Bruno Genaro
    @brunogenaro
    @sheva29 awesome!
    Mauricio Sanchez Duque
    @sheva29
    @brunogenaro you got it!
    OlgaMaraeva
    @OlgaMaraeva
    Thank you! Brilliant video!
    We are talking about the difference between == and ===
    Aniruddha Barapatre
    @aniruddhabarapatre
    Thanks for doing this for us
    Justin Meyer
    @justinbmeyer
    ok, starting up
    please ask questions at any time
    Russell Smith
    @rjsmith25
    So its always best to use === instead of ==
    Lyndsey Browning
    @lyndseybrowning
    what about using +
    is that better than using parseInt() or Number() or just equivalent?
    Russell Smith
    @rjsmith25
    okay cool :)
    0ff
    @0ff
    try "0101"
    Lyndsey Browning
    @lyndseybrowning
    I know parseInt is typically used to convert between bases
    so I'm guess 0101 would convert to Octal?
    Lyndsey Browning
    @lyndseybrowning
    I think if a 0 is first is treats it as Octal
    Zurc
    @Zurc
    parseInt("34 45 66")
    will give you only 34
    Lyndsey Browning
    @lyndseybrowning
    Because it breaks once it reaches the space?
    and just takes the number it reached before it broke, I'm guessing
    coombsyim
    @coombsyim
    Cool that's for this :)
    Madelene Campos
    @Madelene
    Thanks!
    Russell Smith
    @rjsmith25
    thanks +1:
    Cari Nelson
    @Panilla
    Thanks!
    Zurc
    @Zurc
    Until next week! thanks!
    Lyndsey Browning
    @lyndseybrowning
    Thanks again :)
    Marcin Walendzik
    @marcinwal
    thanks
    Zurc
    @Zurc
    If both operands are objects, then they are compared to see if they are the same object. If both operands point to the same object, then the equal operator returns true.
    var x == {};
    var y == {};
    var z == x;
    x == y and x === y return false
    x == z and x === z return true