var z actually gets hoisted to the outer scope but you said function context (var, esto la convierte en una variable con contexto de función y no de bloque,)
I think you are confusing notions of context and scope... or maybe in Spanish 'context' means scope...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
var z actually gets hoisted to the outer scope but you said function context (
var, esto la convierte en una variable con contexto de función y no de bloque,
)I think you are confusing notions of context and scope... or maybe in Spanish 'context' means scope...