diff options
Diffstat (limited to 'static')
| -rw-r--r-- | static/build.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/build.html b/static/build.html index 1af8964c..14f74734 100644 --- a/static/build.html +++ b/static/build.html @@ -632,7 +632,7 @@ export PATH="$PATH:$HOME/sdk/tools:$HOME/sdk/tools/bin:$HOME/sdk/platform-tools: <p>For JavaScript, put <code>"use strict";</code> at the top of every file, end lines with semicolons (since automatic insertion is poorly designed) and always use - <code>const</code> to declare variables, unless they are mutated in which case they + <code>const</code> to declare variables, unless they are reassigned in which case they should be declared with <code>let</code> but never use <code>var</code> as it is effectively broken. Try to prefer loops with <code>for..of</code>.</p> |
