有没有人知道使用该选项背后的原因:
Wscript.CreateObject("some.object")
Run Code Online (Sandbox Code Playgroud)
和
CreateObject("some.object")
Run Code Online (Sandbox Code Playgroud)
在VBScript中?当我找到使用的文档或示例时Wscript.CreateObject,我通常会重写使用CreateObject,因为它似乎总是有效,然后我可以轻松地重用HTA或ASP中的代码.但我一直想知道为什么这个功能存在,如果你在VBScript中使用这种或那种方式会有什么不同.