P
polychrom
What is Javascript equivalent for this VBScript line:
Set WshShell = Nothing
Thanks.
Set WshShell = Nothing
Thanks.
What is Javascript equivalent for this VBScript line:
Set WshShell = Nothing
(e-mail address removed) wrote:
The following is similar
WshShell = null;
but while with VBScript the Set VarName = Nothing releases system and
memory resources if not other variable refers to it with JavaScript you
have garbage collection which runs periodically or on demand to free
resources.
Martin Honnen
http://JavaScript.FAQTs.com/
I mean the same purpose, release system and free memory resources
after code finished:
var WSHShell;
WSHShell = new ActiveXObject("WScript.Shell");
WshShell = null;
is this correct?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.