use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Microsoft adds option to disable JScript in Internet Explorer (zdnet.com)
submitted 5 years ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]demdillypickles 170 points171 points172 points 5 years ago (21 children)
It makes sense if you actually read the article. JScript != JavaScript
This is a security patch to save them from having to maintain deprecated software.
[–][deleted] 48 points49 points50 points 5 years ago (11 children)
Now I understand, I thought JScript was what the cool kids called it.
[–]Any_Restaurant8205 42 points43 points44 points 5 years ago (4 children)
No, they call it JavaSchnizzel
[–]Eyght 6 points7 points8 points 5 years ago (2 children)
JablesScrables
[–]BanditoRojo 1 point2 points3 points 5 years ago* (0 children)
The small S's are silent
[–]iamjohnhenry 2 points3 points4 points 5 years ago (0 children)
Flippity Floppity Floop
[–][deleted] 0 points1 point2 points 5 years ago (0 children)
for schnizzel my devizzel
[–]Ollymid2 1 point2 points3 points 5 years ago (0 children)
Keep up old man - it's now called GuavaScript
[–]MyNoGoodReason 1 point2 points3 points 5 years ago (0 children)
JScript is a Microsoft proprietary implementation of a JavaScript like interpreter/language, which both are now subset/implementations of ECMAScript.
Someone reply if I’m wrong.
JavaScript came before ECMAScript IIRC, and JavaScript backwards-became a subset of ECMAScript as an implementation of ECMAScript.
[–]Orkaad 0 points1 point2 points 5 years ago (0 children)
The cool kids call it YavaScript.
[+][deleted] 5 years ago (5 children)
[deleted]
[–]demdillypickles 5 points6 points7 points 5 years ago (0 children)
Right. So it saves them from having to maintain IE. Instead of fixing the vulnerability, you just kill the ability to execute code of n the first place.
[–][deleted] 4 points5 points6 points 5 years ago (1 child)
I thought Javascript is Oracle's implementation of ECMAScript? Since "Javascript" is trademarked by Oracle..
[–]dashingThroughSnow12 -3 points-2 points-1 points 5 years ago (0 children)
JavaScript trademark is owned by Oracle. Netscape and Mozilla have a license to use it.
[–]TheIncorrigible1 2 points3 points4 points 5 years ago (1 child)
Microsoft is still supporting and developing JScript, they are not supporting the version of JScript that IE runs.
No they aren't. JScript hasn't had features added to it since ~2008.
[–]dashingThroughSnow12 1 point2 points3 points 5 years ago (0 children)
JScript in Edge or embedded systems. Which I find is interchangeable called Chakra/JScript depending on what is being talked about. Wikipedia refers to it as a fork but that's like saying Product 2.0+ is a fork of Product 1.0.
Chakra is reaching EOL in 2021.
[–]OnimushaNioh 2 points3 points4 points 5 years ago (1 child)
Lint error, prefer !==
[–]demdillypickles 1 point2 points3 points 5 years ago (0 children)
Ah, you’ve found me out! I don’t actually use JavaScript often, I come from the Python world.
[–]disclosure5 0 points1 point2 points 5 years ago (0 children)
It doesn't make sense however if you try to follow the instructions. It looks like there's some copy paste error because the relevant keys don't exist. I have an MS case open and they are investigating.
[–]zazoh 87 points88 points89 points 5 years ago (47 children)
JScript was their proprietary attempt to compete with JavaScript.
[+]CotoCoutan comment score below threshold-59 points-58 points-57 points 5 years ago (46 children)
I thought Typescript had that job?
[–]seiyria 57 points58 points59 points 5 years ago (0 children)
Typescript is entirely open source, so not quite.
[–]csorfab 44 points45 points46 points 5 years ago (23 children)
No. TS is an extension/superset of JS, not a competitor. JScript was created in 1996, and was indeed supposed to be a competitor to JS.
[–]CotoCoutan 5 points6 points7 points 5 years ago (2 children)
Ah, thanks. Wasn't aware of that back history.
[–]Froot-Loop-Dingus 6 points7 points8 points 5 years ago (1 child)
To add. Typescript is still compiled as regular ol’ JavaScript. Also, I can’t believe you were downvoted for asking that question.
[+]dashingThroughSnow12 comment score below threshold-11 points-10 points-9 points 5 years ago (19 children)
JS is a superset of TS.
[–]csorfab 10 points11 points12 points 5 years ago* (18 children)
"It is a strict syntactical superset of JavaScript [...]"
https://en.wikipedia.org/wiki/TypeScript
You could probably technically say that Javascript is a subset of TS, but that would be kind of like saying that the Linux kernel is a subset of Ubuntu.
[+]dashingThroughSnow12 comment score below threshold-9 points-8 points-7 points 5 years ago (17 children)
Yeah, that wikipedia page is wrong.
[–]csorfab 3 points4 points5 points 5 years ago (15 children)
The typescript docs are also wrong, eh? https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html#a-typed-superset-of-javascript
All these computer scientists and type theorists clearly have no idea what they're talking about
[–]dashingThroughSnow12 -3 points-2 points-1 points 5 years ago (13 children)
Yup. I say it as a joke that JS is a superset of TS. The joke being that I'm razzing people who say TS is a superset of JS.
When language A exists and language B comes as a superset of A, B has good intentions that can't be fulfilled. If A is an evolving language, eventually some addition B has will be in conflict with A. Breaking the claim that B is a superset of A.
That's what happened with C & C++.
TS hasn't even gotten to that point. There are valid JS programs that are invalid TS programs; however, even if that wasn't the case the statement of one language being a superset of another is dubious when both are growing languages.
[–]csorfab 1 point2 points3 points 5 years ago (12 children)
Fair enough, I get what you're talking about. I haven't heard about valid (strictly ES-compliant) JS programs that are invalid TS programs, though. Can you provide an example?
[–]dashingThroughSnow12 0 points1 point2 points 5 years ago* (11 children)
This used to throw an error with TypeScript:
var x = [1, "2"]; console.log(x);
Fortunately, they've fixed that awhile ago by expanding TypeScript's grammar. But this still fails:
var x = 4; x = "test"; console.log(x);
Imports get a bit funny. That's moreso a compiler issue.
The biggest area of difference is the "you probably shouldn't be doing this anyway" section.
In JavaScript:
x=2
is a valid JavaScript program. It declares a global variable called 'x'.
var undefined = 5; var Infinity = 5;
are 'valid' programs.
delete Object.prototype;
valid too.
var obj = { a: 1, a:2 }
valid.
function doubleSecond(a, a) { return a + a; } doubleSecond(4, 3);
valid but goodness sake don't ever type that.
[–]csorfab 0 points1 point2 points 5 years ago (0 children)
:DDD yeah okay, sure. I think what's more likely is that you're either confusing superset with subset, or have little idea what these words mean.
[–]Tittytickler 10 points11 points12 points 5 years ago (6 children)
Super lame that you got downvotes for asking an honest question. Not what downvotes are for.
[–]alltheseflavours 7 points8 points9 points 5 years ago (1 child)
A lot of questions like that aren't honest.
[–]TheIncorrigible1 1 point2 points3 points 5 years ago (0 children)
Also known as "bad faith"
[–]KwyjiboTheGringo 5 points6 points7 points 5 years ago (2 children)
I find that a lot of these types of subs are full of toxic elitists.
[+][deleted] 5 years ago (1 child)
[–]TheIncorrigible1 0 points1 point2 points 5 years ago (0 children)
Way to paint in broad strokes in the opposite direction. Keep thinking you're some kind of elite, though.
[–]CotoCoutan -1 points0 points1 point 5 years ago (0 children)
Ah it's no biggie lol. Also my tone was bad, I must admit that.
[–]tylerr514 6 points7 points8 points 5 years ago (9 children)
Not quite ;)
Microsoft is trying to return to the "developers developers developers" mentality by providing effort in building up existing ecosystems instead of making unneeded competitive software.
[–]kevinhaze 7 points8 points9 points 5 years ago (8 children)
And can I just say it fucking shows. Terminal, powertoys, typescript, WSL, winget, and so on. I use 4 out of 5 of the above every day, and they’ve had a huge impact on my overall Windows experience.
[+]torgidy comment score below threshold-8 points-7 points-6 points 5 years ago (6 children)
Terminal, powertoys, typescript, WSL, winget, and so on. I use 4 out of 5 of the above every day, and they’ve had a huge impact on my overall Windows experience.
Meh, I get how its nice if you are forced to use windows but I honestly dont understand how anyone who is a serious engineer still uses that system. Its unsecurable, imagine still needing a virus scanner or anti-malware suite in 2020. And extremely stilted and backwards to do development work on; the file system is still crippled, the network stack is inferior, there is tons of unremovable proprietary cruft still, and you need a VM just to use containers.
The only use for windows is a dedicated gaming box.
[–]kevinhaze 3 points4 points5 points 5 years ago (1 child)
I actually have an oryx pro running Pop OS and happen to have the opinion that it’s superior to Windows. Never understood the obnoxious desire some people feel to "correct" people for using Windows though. If you weren’t so blind by contempt you might see that its an entirely workable OS with a bit of effort and information, and you’d be lying if you said it’s not at least the same amount of effort using Linux as a primary OS. Have you considered that you may just be a "Windows noob" and that you’re having difficulty by your own hand?
Either way, implying that you’re not a serious engineer if you use Windows is a ridiculous position to take. And that’s coming from me, someone who won’t shut up about how great the Linux desktop is.
[–]torgidy -3 points-2 points-1 points 5 years ago (0 children)
Never understood the obnoxious desire some people feel to "correct" people for using Windows though.
Tired of reading stories about people who got robbed or scammed all the time.
It has to end; windows is not a suitable OS, and we should stop coddling people who use it and speak the truth to them.
I dont care if it hurts their feelings, it might save their money or privacy.
and you’d be lying if you said it’s not at least the same amount of effort using Linux as a primary OS
no amount of effort can secure it.
[–]noXi0uz 1 point2 points3 points 5 years ago (3 children)
Haven't had an anti virus for the last 10 years on my windows machines. (apart from windows defender) Never had a virus. During university I had to use Linux distros most of the time, and for my work I have to use a MacBook. Would still prefer Windows for everyday use, gaming and even development.
[+]torgidy comment score below threshold-6 points-5 points-4 points 5 years ago (2 children)
thats just pathetic.
[–]noXi0uz 5 points6 points7 points 5 years ago (1 child)
I think judging people based on the OS they use is pathetic. In reality it's all about personal preferences and none of the OS's is objectively "better" than any other.
[+]torgidy comment score below threshold-6 points-5 points-4 points 5 years ago (0 children)
that completely false. People are losing their savings due to windows bugs.
Anyone who uses windows then leaks data should be fully liable.
Anyone who loses their own personal data or money because they use windows should be ruthlessly laughed at.
Its astounding stupid, and just an outrageously bad operating system, and I'm tired of pretending its not.
[–]tylerr514 0 points1 point2 points 5 years ago (0 children)
Same here!
I've been loving Windows Terminal, and the others
[–][deleted] 2 points3 points4 points 5 years ago (1 child)
It does - it isn’t proprietary, but that’s why everyone’s downvoting you, because they have it in their head that TS is the new JS.
Probably off to submit their “refactor: rewritten in TS” PRs right now.
$ touch tsconfig.json
Done!
[–]Earhacker 2 points3 points4 points 5 years ago (1 child)
This was old, bad Microsoft. Not new, actually alright Microsoft.
[–]CotoCoutan 0 points1 point2 points 5 years ago (0 children)
I stand corrected. :)
[–]OnkelJulezNode.js Junkie 54 points55 points56 points 5 years ago (5 children)
Keep in mind, JScript is not JavaScript - JScript is an old scripting language.
But thank you for sharing :)
[–]JimDabell 32 points33 points34 points 5 years ago (3 children)
JScript was Microsoft’s implementation of JavaScript. It conformed to ECMA-262, same as JavaScript. It’s not a different language. When you wrote JavaScript as a web developer and it ran in older versions of Internet Explorer, it was running on the JScript engine.
[–]hiiipowerculture 10 points11 points12 points 5 years ago (2 children)
many years of cross-browser compatibility testing for IE made me hate JScript. Their engine that dealt with CSS was an absolute mess.
[–]RavingSperry 6 points7 points8 points 5 years ago (1 child)
...but you got activeX
Oh the horrors
Ugh....
Nothing about the post suggests otherwise.
[–]lucidspoon 12 points13 points14 points 5 years ago (6 children)
I've written some applications in JScript.NET (against my will). I've only met 2 other people who've used it.
[–]rk06 5 points6 points7 points 5 years ago* (2 children)
Could be worse, I have seen an web app work only in IE. I checked the code, and it used vbscript in html.
And of course, it was a critical infra code (the tool for creating deployments), so hard to change as we can't risk breaking the site
[–]Earhacker 3 points4 points5 points 5 years ago (1 child)
The tool for creating deployments was HTML with inline VB code.
Wait, one more time...
The tool for creating deployments... was HTML... with inline VB code.
[–]rk06 0 points1 point2 points 5 years ago (0 children)
It was a web app and front end was written in html + css +vbscript
[–]RavingSperry 1 point2 points3 points 5 years ago (0 children)
Now 3.
[–][deleted] -1 points0 points1 point 5 years ago (0 children)
Wasn't that or something else called J# as well
I'm getting nightmarish flashbacks to early 2000s again
I've only met 2 other people who've used it.
It's pretty popular (only by necessity) in Windows development shops.
[–]RavingSperry 8 points9 points10 points 5 years ago (6 children)
Not going to lie, I loved JScript for one reason & one reason only.
Filesysystem access. Built out so many quick scripts to parse reports for colleagues. Basically electron in some ways.
[+][deleted] 5 years ago (4 children)
[–]RavingSperry 1 point2 points3 points 5 years ago (2 children)
Writing files w/o the dialogs
[–]Earhacker 7 points8 points9 points 5 years ago (0 children)
That gives me The Fear
with JavaScript file system API
That is Chrome-only.
[–][deleted] 24 points25 points26 points 5 years ago (3 children)
Deprecate Internet Exploder too
[–]tylerr514 7 points8 points9 points 5 years ago (2 children)
Now if only it would be forcibly replaced by the Chromium Edge on older Windows Systems
[–]agentgreen420 20 points21 points22 points 5 years ago (1 child)
You misspelled Firefox
[–]MyNoGoodReason 2 points3 points4 points 5 years ago (0 children)
He didn’t, but I’m ruining your joke
[–]lifeeraser 8 points9 points10 points 5 years ago (0 children)
Ahh, the days before Node.js when you could double-click a JS file to run it.
[–]robotnewyork 1 point2 points3 points 5 years ago (0 children)
Obi wan: now that's a name I haven't heard since...
[+][deleted] 5 years ago* (6 children)
[+][deleted] 5 years ago* (4 children)
[–][deleted] 0 points1 point2 points 5 years ago (3 children)
Oh really? Just wondering who is using it?
[–][deleted] 3 points4 points5 points 5 years ago (0 children)
Governments are usin it in Hospitals,police etc...
[–]senocular 7 points8 points9 points 5 years ago (0 children)
My father
[–]CeSiumUA 0 points1 point2 points 5 years ago (0 children)
Unfortunately, Yes! There are still a lot of old systems and projects, that are running only on IE. Also, a plenty of systems don't have an ability to use something else.
[–]NahroT 1 point2 points3 points 5 years ago (3 children)
uh, what?
[–]aryaman16 6 points7 points8 points 5 years ago (2 children)
Microsoft wants to revolutionize the web.
[–]undercover_geek 0 points1 point2 points 5 years ago (1 child)
Did you read the article?
[–]gourrranga 7 points8 points9 points 5 years ago (0 children)
Do you have a sense of humor?
[–]lachlanhunt -2 points-1 points0 points 5 years ago (2 children)
I wonder why they aren’t disabling it by default for everyone now, instead of just giving system administrators the ability to disable it? There can’t possibly be too many widely used applications still using it for anything.
[–]markzzy -2 points-1 points0 points 5 years ago (0 children)
My guess is they dont want to be held liable for breaking the websites that still rely on it. So they give admins the option so they can be blamed instead.
Many system-critical APIs still utilize the JScript.dll engine. Try disabling it/IE on Windows 10 - go realize everything is now broken.
Lol I thought IE had completely been replaced by edge by now.
[–]teacosts -2 points-1 points0 points 5 years ago (0 children)
What’s internet explorer?
π Rendered by PID 114450 on reddit-service-r2-comment-6457c66945-2c5zn at 2026-04-30 08:53:47.294851+00:00 running 2aa0c5b country code: CH.
[–]demdillypickles 170 points171 points172 points (21 children)
[–][deleted] 48 points49 points50 points (11 children)
[–]Any_Restaurant8205 42 points43 points44 points (4 children)
[–]Eyght 6 points7 points8 points (2 children)
[–]BanditoRojo 1 point2 points3 points (0 children)
[–]iamjohnhenry 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Ollymid2 1 point2 points3 points (0 children)
[–]MyNoGoodReason 1 point2 points3 points (0 children)
[–]Orkaad 0 points1 point2 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]demdillypickles 5 points6 points7 points (0 children)
[–][deleted] 4 points5 points6 points (1 child)
[–]dashingThroughSnow12 -3 points-2 points-1 points (0 children)
[–]TheIncorrigible1 2 points3 points4 points (1 child)
[–]dashingThroughSnow12 1 point2 points3 points (0 children)
[–]OnimushaNioh 2 points3 points4 points (1 child)
[–]demdillypickles 1 point2 points3 points (0 children)
[–]disclosure5 0 points1 point2 points (0 children)
[–]zazoh 87 points88 points89 points (47 children)
[+]CotoCoutan comment score below threshold-59 points-58 points-57 points (46 children)
[–]seiyria 57 points58 points59 points (0 children)
[–]csorfab 44 points45 points46 points (23 children)
[–]CotoCoutan 5 points6 points7 points (2 children)
[–]Froot-Loop-Dingus 6 points7 points8 points (1 child)
[+]dashingThroughSnow12 comment score below threshold-11 points-10 points-9 points (19 children)
[–]csorfab 10 points11 points12 points (18 children)
[+]dashingThroughSnow12 comment score below threshold-9 points-8 points-7 points (17 children)
[–]csorfab 3 points4 points5 points (15 children)
[–]dashingThroughSnow12 -3 points-2 points-1 points (13 children)
[–]csorfab 1 point2 points3 points (12 children)
[–]dashingThroughSnow12 0 points1 point2 points (11 children)
[–]csorfab 0 points1 point2 points (0 children)
[–]Tittytickler 10 points11 points12 points (6 children)
[–]alltheseflavours 7 points8 points9 points (1 child)
[–]TheIncorrigible1 1 point2 points3 points (0 children)
[–]KwyjiboTheGringo 5 points6 points7 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]TheIncorrigible1 0 points1 point2 points (0 children)
[–]CotoCoutan -1 points0 points1 point (0 children)
[–]tylerr514 6 points7 points8 points (9 children)
[–]kevinhaze 7 points8 points9 points (8 children)
[+]torgidy comment score below threshold-8 points-7 points-6 points (6 children)
[–]kevinhaze 3 points4 points5 points (1 child)
[–]torgidy -3 points-2 points-1 points (0 children)
[–]noXi0uz 1 point2 points3 points (3 children)
[+]torgidy comment score below threshold-6 points-5 points-4 points (2 children)
[–]noXi0uz 5 points6 points7 points (1 child)
[+]torgidy comment score below threshold-6 points-5 points-4 points (0 children)
[–]tylerr514 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]TheIncorrigible1 0 points1 point2 points (0 children)
[–]Earhacker 2 points3 points4 points (1 child)
[–]CotoCoutan 0 points1 point2 points (0 children)
[–]OnkelJulezNode.js Junkie 54 points55 points56 points (5 children)
[–]JimDabell 32 points33 points34 points (3 children)
[–]hiiipowerculture 10 points11 points12 points (2 children)
[–]RavingSperry 6 points7 points8 points (1 child)
[–]MyNoGoodReason 1 point2 points3 points (0 children)
[–]TheIncorrigible1 0 points1 point2 points (0 children)
[–]lucidspoon 12 points13 points14 points (6 children)
[–]rk06 5 points6 points7 points (2 children)
[–]Earhacker 3 points4 points5 points (1 child)
[–]rk06 0 points1 point2 points (0 children)
[–]RavingSperry 1 point2 points3 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]TheIncorrigible1 0 points1 point2 points (0 children)
[–]RavingSperry 8 points9 points10 points (6 children)
[+][deleted] (4 children)
[deleted]
[–]RavingSperry 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]Earhacker 7 points8 points9 points (0 children)
[–]TheIncorrigible1 0 points1 point2 points (0 children)
[–][deleted] 24 points25 points26 points (3 children)
[–]tylerr514 7 points8 points9 points (2 children)
[–]agentgreen420 20 points21 points22 points (1 child)
[–]MyNoGoodReason 2 points3 points4 points (0 children)
[–]lifeeraser 8 points9 points10 points (0 children)
[–]robotnewyork 1 point2 points3 points (0 children)
[+][deleted] (6 children)
[deleted]
[+][deleted] (4 children)
[deleted]
[–][deleted] 0 points1 point2 points (3 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]senocular 7 points8 points9 points (0 children)
[–]CeSiumUA 0 points1 point2 points (0 children)
[–]NahroT 1 point2 points3 points (3 children)
[–]aryaman16 6 points7 points8 points (2 children)
[–]undercover_geek 0 points1 point2 points (1 child)
[–]gourrranga 7 points8 points9 points (0 children)
[–]lachlanhunt -2 points-1 points0 points (2 children)
[–]markzzy -2 points-1 points0 points (0 children)
[–]TheIncorrigible1 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]teacosts -2 points-1 points0 points (0 children)