-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeCommittedThe team has roadmapped this issueThe team has roadmapped this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
Note that this issue is not about dropping support for --target es3.
This came up in a meeting today. Given that tsc.exe now uses ChakraCore to run tsc.js, it's not clear how much value users are getting in being able to run TypeScript on ES3 runtimes.
Reasons we'd do this include
- Being able to use ES5 array methods such as
map,filter,reduceLeft,some, andevery. - Being able to create empty objects as maps with
Object.create(null)to avoidhasOwnPropertycalls for every lookup. - Using get-accessors for lazily computing position information.
- Being able to use
JSON.stringify.
tinganho, yahiko00, kitsonk, DickvdBrink, DaSchTour and 1 more
Metadata
Metadata
Assignees
Labels
Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeCommittedThe team has roadmapped this issueThe team has roadmapped this issueSuggestionAn idea for TypeScriptAn idea for TypeScript