From 3c337b41150bb452e23329477ed1c9f35c9680ce Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 14 Jul 2019 03:02:06 -0400 Subject: [PATCH] clarify coding guidelines --- static/build.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:

For JavaScript, put "use strict"; at the top of every file, end lines with semicolons (since automatic insertion is poorly designed) and always use - const to declare variables, unless they are mutated in which case they + const to declare variables, unless they are reassigned in which case they should be declared with let but never use var as it is effectively broken. Try to prefer loops with for..of.