Variable declaration reset: Difference between revisions

→‎{{header|J}}: more clarification for summary statement
(→‎{{header|J}}: Clarify summary statement)
(→‎{{header|J}}: more clarification for summary statement)
Line 231:
But it would not alter the generated result.
 
J's control words (like '<tt>while.</tt>') do not create new variable scopes. However, given J's semantics, its behavior in the context of this task would be unchanged if the <tt>while.</tt> loop introduced a new variable scope. (However, if J's <tt>if.</tt> statement introduced a new variable scope, that would break this implementation of this task.)
 
=={{header|Java}}==
6,962

edits