Skip to content

Supported ECMAScript Version #14

Answered by koculu
Xhanti asked this question in Q&A
Jun 21, 2023 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

Topaz ECMAScript Compatibility:

ECMAScript 6 (ES2015)

Features Supported Alternative
Arrow Functions
Classes
Modules ✔ use custom import from host
Template Strings
Promises ✔ use dotnet Task
let and const
Destructuring Assignment
Default Parameters
Rest and Spread Operators
Symbol Type

ECMAScript 7 (ES2016)

Features Supported Alternative
Array.prototype.includes
Exponentiation Operator
Array.prototype.flat and Array.prototype.flatMap

ECMAScript 8 (ES2017)

Features Supported Alternative
async/await
Object.values and Object.entries ✔ use dotnet Reflection
String padding ✔ use dotnet string
Obj…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by koculu
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@koculu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants