is it possible that for (const element of list) { should actually be for (let element of list) { ? the former one raises "SyntaxError: invalid for/in left-hand side"
is it possible that for (const element of list) { should actually be for (let element of list) { ? the former one raises "SyntaxError: invalid for/in left-hand side"