Does IE10 use JScript 10.0
@if (@_jscript_version 开发者_开发技巧== 10)
document.write("You are using IE10");
According to Wikipedia IE10 will use JScript 10.
JScript 10 seems to have a whole bunch of new proprietary extensions to EcmaScript 5.
Is the version of the EcmaScript engine (10) in IE10 related to JScript 10.0 ?
Does IE10 bring in a whole load of proprietary extensions like strict typing, etc?
Microsoft Reference
JScript 10.0 is used for applications that run on a server by using the .NET Framework. For information about how to write scripts that run on a client computer in a Web browser, see JScript (Windows Script Technologies).
It would appear they are just being annoying with version numbers. The JScript 10.0 seems to run on the .NET framework only.
Although I still don't know what "Jscript version 10" is and why it has the same version number as JScript 10.0
It appears I was mistaken, and JScript 10.0 and JScript (in IE) with a version of 10 are entirely unrelated, and Microsoft's versioning schemes are abhorrent.
精彩评论