Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix for...of autocomplete, variable declaration #631
Description of the Change
The variable declaration with "var" is missing and the autogenerated snippet produces a ReferenceError
The forof autocomplete snippet can be used safely.
If the user wants to use an already declared variable, the declaration with "var" in the for has to be removed manually.