
Update the examples to prefer `const` over `let` or `var`, per the Google JavaScript style guide [1]. Also update the spec links to point to the latest available draft [2] instead of a versioned snapshot, since that’s what we aim to implement. [1] https://google.github.io/styleguide/jsguide.html [2] https://tc39.github.io/ecma262/ Change-Id: If019e533a1aa320fefe02185c64fe1b632e26c81 Reviewed-on: https://chromium-review.googlesource.com/c/1122220 Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Mathias Bynens <mathias@chromium.org> Cr-Commit-Position: refs/heads/master@{#599536}