Please no. They already compromise a lot on the design of UWP to support JavaScript. Also, JSX was supported for decades on Windows and I don’t think it got any adoption.
The syntax however should get a lifting, to result in something like C# but with less curly braces.
Active Scripting was the Powershell before Powershell. Not in a sense that it's a shell scripting language, but in a sense that it's what Windows admins used to wrote scripts more complicated than a batch file.
That thing supports VBScript and JScript out of the box. Most scripts are written in VBS in practice, though.
Re:PowerShell 7.0
by chaostheory on Wednesday March 04, 2020 @06:40PM
(#22489380)
What exactly did MS compromise on for UWP to support Javascript?
C# / Java is way too verbose, though almost anything is better than PS script syntax
Personally, since MS has made Javascript a 1st class citizen on Windows now, it would be nice if Javascript and Typescript were better integrated into PowerShell. It would be nice to have one language to rule them all. I hate the time wasted with context switching. Also, I still hate using PS script. They make a lot of strange style decisions like with method / parameter declaration.