VBScript allows explicit destruction of objects, whereas JavaScript is a "garbage collected" language.
VBScript allows you to define public/private members in classes, whereas in JavaScript, all members are (basically) public.
VBScript supports the "SafeArray" data type, whereas JavaScript doesn't. MS JScript adds the Enumerator() object to compensate for this.
VBScript supports passing "by reference" whereas JavaScript only allows passing "by value."
JavaScript has a more concise syntax, whereas VBScript is often extremely verbose.
JavaScript allows you to supply a dynamic number of arguments to a function, whereas VBScript forces you to send the exact number of arguments specified in the function (or sub) declaration.
JavaScript is supported in many web browsers, whereas VBScript is only supported in Internet Explorer.
JavaScript allows you to add members to existing objects (such as String, Number, etc) whereas VBScript does not treat strings, numbers, etc. as objects, and thus does not allow new methods to be defined.
VBScript allows you to define public/private members in classes, whereas in JavaScript, all members are (basically) public.
VBScript supports the "SafeArray" data type, whereas JavaScript doesn't. MS JScript adds the Enumerator() object to compensate for this.
VBScript supports passing "by reference" whereas JavaScript only allows passing "by value."
JavaScript has a more concise syntax, whereas VBScript is often extremely verbose.
JavaScript allows you to supply a dynamic number of arguments to a function, whereas VBScript forces you to send the exact number of arguments specified in the function (or sub) declaration.
JavaScript is supported in many web browsers, whereas VBScript is only supported in Internet Explorer.
JavaScript allows you to add members to existing objects (such as String, Number, etc) whereas VBScript does not treat strings, numbers, etc. as objects, and thus does not allow new methods to be defined.



