Publicações com #javascriptinterviews

#javascriptinterviews

Publicações públicas do X que usam #javascriptinterviews.

Hashtags relacionados

  1. Akanksha Choudhary@ch_akanksha
    Hoisting is an extremely common topic for JS interviews. Variables declared using 'var' are hoisted to the top of the function scope. The code below does not throw error coz the interpreter pulls all var decl. to the top. [#javascript #interview questions. Day 6.] See Thread👇
    Baixar
    1953
  2. Akanksha Choudhary@ch_akanksha
    @ch_akanksha
    To add, Hoisting does not apply to let decl. While parsing, the engine is aware of let decl. that appear later in the block but they can't be referenced b4 the actual decl. So, the ReferenceError. The segment of exec that occurs b4 the decl. is called Temporal Dead Zone(TDZ).
    Baixar
    109
  3. Mostrar mais publicações