top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

Out of vbscript and Javascript which one is better?

+1 vote
39 views

Explain with the reason.

posted May 14, 2014 by Amarvansh

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

Comparison of JavaScript and VBScript

Similarities:

  • Both languages are easy to learn and do not require any expensive development tools
  • Both can be used to enhance web pages
  • They run on client machines and can substitute CGI programs to reduce server loads
  • Both can abuse and run malicious scripts on clients' machines

Differences

  • JavaScript is the default scripting language for browsers but VBScript must be specified as the scripting language.
  • JavaScript has cross-platform support from all popular browsers while VBScript is supported MS IE only.
  • VBScripters would thus loose a sizable audience.
  • One of the most significant issues with JavaScript is that there were different releases of the language since its inception (version 1.0). Similarly, different versions of browsers exist on users machines. Therefore, code written for one version may not necessarily work on another. More testing would be necessary thus, development time increases.
  • JavaScript is case sensitive but VBScript is not this would not be prone to as many syntax errors.<
    JavaScript uses the same character for concatenation as it does for addition (the + character) while the '&' concatenating character is used in VBScript. This is another source of errors in JavaScript.
answer May 15, 2014 by Nikita Sehgal
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...