VBScript Vs JavaScript

  1. Neither JavaScript nor VBScript is truly object-oriented But JavaScript makes stronger  use of objects than does VBScript.
    VBScript does not support object creation or user-defined classes.
  2. VBScript supports functions and subroutines.
    JavaScript supports only functions. If you want to create a function that behaves like a subroutine in JavaScript then just omit the return value.
  3. File extension in VBScript is .vba or .vbs
    File Extension in JavaScript is .js
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s