i.e. intuitively it looks like the variable will only be available within the block but it is accessible outside the block .. in javascript's case, because var doesn't make a block level declaration.
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana