| title | ms.custom | ms.date | ms.prod | ms.reviewer | ms.suite | ms.technology | ms.tgt_pltfrm | ms.topic | f1_keywords | dev_langs | helpviewer_keywords | ms.assetid | caps.latest.revision | author | ms.author | manager | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ScriptEngine Function (JavaScript) | Microsoft Docs |
01/18/2017 |
windows-client-threshold |
|
language-reference |
|
|
|
65674b2b-d2c2-4493-99b3-f0d20fda8249 |
15 |
mikejo5000 |
mikejo |
ghogen |
Gets the name of the scripting language in use.
ScriptEngine()
The ScriptEngine function returns "JScript", which indicates that [!INCLUDEjavascript] is the current scripting engine.
The following example illustrates the use of the ScriptEngine function:
if (window.ScriptEngine) {
console.log(window.ScriptEngine());
}
// Output: JScript [!INCLUDEjsv5]
ScriptEngineBuildVersion Function
ScriptEngineMajorVersion Function
ScriptEngineMinorVersion Function