Node.js v18 & v19 don't support some es2023 features #217
Open
Description
ES2023 introduced toSorted
, toReversed
, toSpliced
, with
, and findLast
and findLastIndex
methods on Array.prototype,
Node.js 18 and 19 only support findLast and findLastIndex, and don't support toSorted and others
node18 and node19 bases both specify es2023 lib
https://github.com/tsconfig/bases/blob/5ee68ffc8325546335649525a3553067d2d27830/bases/node18.json
https://github.com/tsconfig/bases/blob/5ee68ffc8325546335649525a3553067d2d27830/bases/node19.json
I suspect nothing can be really done about this?
Metadata
Assignees
Labels
No labels