HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Killusions

no profile record

Submissions

JavaScript and TypeScript features of the last 3 years

medium.com
464 points·by Killusions·3 năm trước·265 comments

comments

Killusions
·3 năm trước·discuss
Good point, done.
Killusions
·3 năm trước·discuss
I added them now so the article is complete.
Killusions
·3 năm trước·discuss
Thanks, I edited it to include this, just to make it clear.
Killusions
·3 năm trước·discuss
Thanks, I fixed both of them.
Killusions
·3 năm trước·discuss
Yes, the error was also wrong, fixed it.
Killusions
·3 năm trước·discuss
Hey, if you think you found a mistake, please also tell me what it is so I can fix it.
Killusions
·3 năm trước·discuss
Ironically this is the only JavaScript change (except for top level await) I did not include, maybe I'll edit it and add it.
Killusions
·3 năm trước·discuss
You are correct, I added a note.
Killusions
·3 năm trước·discuss
I think one can both learn about the new features without feeling the need to use them all or refactor old code.

My biggest learning while writing this was just how much is possible in JavaScript and TypeScript now, but I also realize that a lot of this I will not use myself or only use to understand some really specific code.
Killusions
·3 năm trước·discuss
Just looked it up, you are of course correct. I will move them into the "Past" part.
Killusions
·3 năm trước·discuss
I haven't found one yet, but I'm sure there's one somewhere out there. I will try to keep updating this article so someday it will be what you're looking for.
Killusions
·3 năm trước·discuss
I took the time to explain all the latest (and some older) JavaScript and TypeScript changes, including code examples.