The ScriptArguments.RemoveAll() method empties the arguments collection.
ScriptArguments.RemoveAll()
VBScript:
JScript:
ScriptArguments Object