ES6 for ...of is added
This commit is contained in:
parent
4db28f7851
commit
58442e1ad4
14
README.md
14
README.md
|
|
@ -549,6 +549,12 @@ Future plans
|
||||||
|
|
||||||
- `@use client` and `@use server` commands, status: done
|
- `@use client` and `@use server` commands, status: done
|
||||||
- control flows without braces, status: done
|
- control flows without braces, status: done
|
||||||
|
- ES6 `for`, status: done
|
||||||
|
|
||||||
|
for(name of names){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
- static typing
|
- static typing
|
||||||
- `@use` expressions
|
- `@use` expressions
|
||||||
|
|
||||||
|
|
@ -570,13 +576,7 @@ Future plans
|
||||||
|
|
||||||
Array<int> arr = [0...10];
|
Array<int> arr = [0...10];
|
||||||
Object<String, String> obj = { name: "Eric" };
|
Object<String, String> obj = { name: "Eric" };
|
||||||
|
|
||||||
- ES6 `for`
|
|
||||||
|
|
||||||
for(name of names){
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
- write documentation of tokenizer/parser methods
|
- write documentation of tokenizer/parser methods
|
||||||
- more informative exceptions
|
- more informative exceptions
|
||||||
- better source maps
|
- better source maps
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user