Variable declaration reset: Difference between revisions

Content added Content deleted
(→‎{{header|C}}: added uninitilised prev comment)
(→‎{{header|FreeBASIC}}: hid the conflicting final comment, pls delete completely if you agree)
Line 128: Line 128:
6
6
</pre>
</pre>
<!-- PL: I assume these comments were incorrectly copied, as you can see there *is* output...
Like the first/unchanged JavaScript example, no output.<br>
Like the first/unchanged JavaScript example, no output.<br>
Obviously you can achieve consistent results by manually hoisting the declaration of prev to before/outside the loop.
Obviously you can achieve consistent results by manually hoisting the declaration of prev to before/outside the loop.
-->



=={{header|Go}}==
=={{header|Go}}==