Oh shit.
Excel adds JavaScript support.
https://www.reddit.com/r/programming/comments/8hubri/excel_adds_javascript_support/
As if macro viruses weren't enough now we can worry about spreadsheets having crypto-mining malware.
This is not the future I signed up for.
The major problem is the same old problem: everything in Excel is done by non-programmers and its made too easy for them - even easier than PHP - to write terrible code that looks as if it's working.
Now add 'Security-Oblivious and they're using js' to the brew.
Some things in Excel are done by experienced developers, using VBA as the 'visual shell' language to deliver functionality running in C#, C++, Java, Python. That works very well but...
You can call *anything* in Excel.
@craigmaloney @Hairyears
So the short version is: this isn't new.
VBA and VB and VBScript exist because Microsoft wanted everyone to be able to code, and Excel exists as an easy UI for them to import functionality from anything, anywhere, any way they want.
Making it even easier to do that with JS isn't new.
It all boils down to the quality of the Chakra JS engine's sandbox, and Microsoft's willingness to police the scripts that they allow to run.
...Which is to say: I share your pessimism.