Skip to content

JS: Add missing ES2021 features#4282

Merged
codeql-ci merged 6 commits intogithub:mainfrom
erik-krogh:es2021
Sep 22, 2020
Merged

JS: Add missing ES2021 features#4282
codeql-ci merged 6 commits intogithub:mainfrom
erik-krogh:es2021

Conversation

@erik-krogh
Copy link
Contributor

@erik-krogh erik-krogh commented Sep 17, 2020

Adds the obvious features we were missing from ES2021: https://github.com/tc39/proposals/blob/master/finished-proposals.md

The &&=/||=/??= operators were somewhat straightforward, as we already had support for these operators in TypeScript.

I have not added anything for WeakRefs.
I don't have plans of running any evaluation.

@github-actions github-actions bot added the JS label Sep 17, 2020
@erik-krogh erik-krogh force-pushed the es2021 branch 2 times, most recently from c01c008 to db33803 Compare September 17, 2020 21:26
@erik-krogh erik-krogh marked this pull request as ready for review September 21, 2020 08:51
@erik-krogh erik-krogh requested a review from a team as a code owner September 21, 2020 08:51
@esbena
Copy link
Contributor

esbena commented Sep 21, 2020

LGTM.

I don't have plans of running any evaluation.

I would like to see an evaluation of add support for String.prototype.replaceAll b090153 in isolation (or with the other commits, if that is easier for you). Those QL changes could go either way in terms of performance.

@erik-krogh erik-krogh added the Awaiting evaluation Do not merge yet, this PR is waiting for an evaluation to finish label Sep 21, 2020
@erik-krogh
Copy link
Contributor Author

erik-krogh commented Sep 22, 2020

I would like to see an evaluation of add support for String.prototype.replaceAll b090153 in isolation (or with the other commits, if that is easier for you). Those QL changes could go either way in terms of performance.

Here is an evaluation of that specific commit: https://git.semmle.com/erik/dist-compare-reports/tree/profiling-erik-krogh.northeurope.cloudapp.azure.com_1600769777900

@erik-krogh erik-krogh removed the Awaiting evaluation Do not merge yet, this PR is waiting for an evaluation to finish label Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants