Closed
Description
lib Update Request
Configuration Check
My compilation target is ES2022
and my lib is "esnext.intl", "es2021.intl", "ESNext","ES2022", "ES2021", "es6"
.
Missing / Incorrect Definition
The static method Intl.supportedValuesOf
is supported by Node.js since v18 release from April. This is missing in the definition of Intl
.
Sample Code
Intl.supportedValuesOf("timeZone").forEach(function(timeZone) {
console.log(timeZone);
});
Documentation Link
Ecmascript - it is listed as a stage3 proposal, but given that it is already implemented in v8 & mentioned in the MDN this seems reasonable.