14 lines
633 B
Plaintext
14 lines
633 B
Plaintext
=== is related to: S3798
|
|
|
|
=== on 13 Mar 2015, 13:49:55 Ann Campbell wrote:
|
|
I modified the code sample you provided, [~linda.martin]. Feel free to change it back.
|
|
|
|
=== on 13 Mar 2015, 14:02:49 Linda Martin wrote:
|
|
\[~ann.campbell.2] From the description it seems that each type you declare a variable without the keyword "var" it creates a global variable. Whereas it is only within for-loops and functions that that it creates a global variable.
|
|
|
|
Maybe it's my understanding of english that it's questionable or I wrongly expressed myself when I first described the rule ?
|
|
|
|
=== on 19 May 2015, 14:09:17 Linda Martin wrote:
|
|
Reviewed.
|
|
|