Search code examples
comjscriptwshwindows-scripting

Where can I find the doc for the function GetObject in Microsoft Javascript?


I cannot find the doc for the function GetObject available in Microsoft Javascript.

I tried with no luck https://learn.microsoft.com/en-us/search/?terms=javascript%20getobject where I found https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/getobject-function which could be good enough for me even if it is related to Visual Basic for Applications... but I would like to find the doc for Javascript.


Solution

  • Microsoft's implementation of JavaScript (ECMAScript Version 3) is known as JScript. Like VBScript it’s been hidden away in the Microsoft Documentation archives.

    The function can be found in the language reference under Functions. Here is a direct link to GetObject().