-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support the Latest ECMAScript Standard #498
Comments
Do we want to have separate TC-s for separate functions under |
@Achie72 Since a new ECMAScript standard is released in every year, we think that it's not quite important to separate each ECMAScript version now. Therefore if you want to add any new TCs with the latest feature, please add it to the existing |
@clover2123 i think we can look into updating a few things here:
|
@Achie72 |
Lookbehind is only supported by a V8, where it is faulty as well, and no other big engines have it as far as i know. /(?<=((x.)\2)+)a/.exec("xyxyxsxsa")
output:
(3) ["a", "xy", "xy", index: 8, input: "xyxyxsxsa", groups: undefined] This is because it is a very controversial feature, as it not defined exactly how it should behave in complex situation, and if it is implemented, it is very resource intense and therefore sometimes it has limited or just tricked behavior to achieve an easier inner workings (see V8 example above). If we still want this feature, we can look into it, but seeing as no other engines have it, maybe we should leave this one out too imo. |
I think the problem with lookbehind, is that the trivial solution (scanning from the beginning of the subject string) is way too slow, and the opposite method - scanning backward - is kind of impossible to implement efficiently because of the corner cases. So far only Google tried it, and they failed. We could consider ignoring this feature. |
From now on, we will going to pass more TCs such as v8 (kangax too). |
Update the ECMAScript 2019 (the latest standard) on Escargot
ECMAScript 2019 Standard : ecma-262/10.0
Based on the upper standard, we are going to update the new ES10 standard and missing features from ES7 to ES10.
New Features
ECMAScript 2016
ECMAScript 2017
Shared Memory(not support)Atomics(not support)ECMAScript 2018
look-behind assertions(not support)ECMAScript 2019
The text was updated successfully, but these errors were encountered: