-3

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.

ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257
Tom Smith
  • 15
  • 4
  • 1
    [mcve].......... – Cooper Oct 08 '20 at 16:17
  • Possible duplicate [Why does google script editor stop paren matching after 100 lines in a function and does it affect the code?](https://stackoverflow.com/q/13711260/1595451) – Rubén Oct 08 '20 at 16:29

1 Answers1

0

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 + to develop locally. Also, A new editor/ide based on Monaco is scheduled.

TheMaster
  • 45,448
  • 6
  • 62
  • 85