News for hackers. Stuff that matters.
Re:All JavaScript and TypeScript features of the last 3 year... by Killusions on Thursday March 09, 2023 @05:35AM (#35079972)
I took the time to explain all the latest (and some older) JavaScript and TypeScript changes, including code examples.
Re:All JavaScript and TypeScript features of the last 3 year... by tobr on Thursday March 09, 2023 @10:11AM (#35081980)
Symbols are not an ES2022 feature. I believe they were introduced in ES2015.
Re:All JavaScript and TypeScript features of the last 3 year... by Killusions on Thursday March 09, 2023 @10:19AM (#35082084)
Just looked it up, you are of course correct. I will move them into the "Past" part.
Re:All JavaScript and TypeScript features of the last 3 year... by matthewmueller on Thursday March 09, 2023 @11:27AM (#35083033)
Thanks for doing this! I found this post very helpful to get exposed to recent changes from the last couple years.
Re:All JavaScript and TypeScript features of the last 3 year... by mook on Thursday March 09, 2023 @12:15PM (#35083669)
Looked up on MDN (and from there the ES spec), import assertions don't seem to actually be standard. You might want to mark that somehow (or drop it).
Re:All JavaScript and TypeScript features of the last 3 year... by Killusions on Thursday March 09, 2023 @12:20PM (#35083751)
You are correct, I added a note.