goja
goja copied to clipboard
list features in docs, that jumped over ES5.1 (ES6)
Class has been implemented at https://github.com/dop251/goja/commit/0b5d2105245750c4ba3305bf31081f36fdca9862. It is great feature, thank you.
At this time, static/private was also implemented. this goes beyond ES6. People who come later, may missed this feature(even it's a great feature.).
Do you plan to list features that jumped over ES5.1 (ES6) in the Readme? or is it ok to contribute to the Readme?
I think it would be better to have a separate document and add a link to it from the README. The document should be a table with all ES6 features (i.e. features introduced in ES6, including not yet implemented) and ES6+ features implemented so far. The columns should be: Feature, Implemented? (Yes/No), Link to an issue (optional).
If someone could come up with such a table, it would be great.
Thanks, may finish it a little late, but I would like to work it
I'm not deeply learned goja, so I just checked what I knew
- [x] The let keyword
- [x] The const keyword
- [x] Arrow Functions
- [ ] The ... Operator
- [x] For/of
- [x] Map Objects
- [x] Set Objects
- [x] Classes
- [x] Promises
- [x] Symbol
- [ ] Default Parameters
- [ ] Function Rest Parameter
- [ ] String.includes()
- [x] String.startsWith()
- [x] String.endsWith()
- [ ] Array.from()
- [ ] Array keys()
- [ ] Array find()
- [ ] Array findIndex()
- [ ] New Math Methods
- [ ] New Number Properties
- [ ] New Number Methods
- [ ] New Global Methods
- [ ] Object entries
- [ ] JavaScript Modules