If use Object.entries() or
for (q of questions) { //etc }
The code formatting wrong reports badly braces, with red ones in wrong places and messes up the indentation.
If use Object.entries() or
for (q of questions) { //etc }
The code formatting wrong reports badly braces, with red ones in wrong places and messes up the indentation.
Currently, It is not recommended to use the official editor for code indent,highlighting, debugging or autocomplete as it is buggy in many ways.
In your case specifically, Both Object.entries()
and for...of
are V8 features. These features don't show up in autocomplete or have correct syntax highlighting.
Consider using clasp + typescript to develop locally. Also, A new editor/ide based on Monaco is scheduled.