DEV Community

Discussion on: Paracetamol.js💊| #31: Explica este código JavaScript

Collapse
 
taneros profile image
Renatik

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...