const should be let
In this section, https://gjs.guide/guides/gjs/style-guide.html#const-vs-let, in the code snippet following the line "A common case where this matters is when you have a closure inside a loop:", shouldn't
for (const i = 0; i < 10; ++i)
be for (let i = 0; i < 10; ++i)
?