refactor(forEach): change to for-of with iterable
rename: foreach -> for rename: array -> iterable update: DartParseTreeWriter update: naive_infinite_scroll update: todo fix: tests in foreach_spec Closes #919
This commit is contained in:
@ -531,4 +531,4 @@ export class DartParseTreeWriter extends JavaScriptParseTreeWriter {
|
||||
}
|
||||
|
||||
// see: https://www.dartlang.org/docs/dart-up-and-running/ch02.html for a full list.
|
||||
const DART_RESERVED_WORDS = ['if', 'switch'];
|
||||
const DART_RESERVED_WORDS = ['if', 'switch', 'for'];
|
||||
|
Reference in New Issue
Block a user