Reputation: 1697
what are the pros and cons of using Javascript vs BeanShell ? Like how is it different as BeanShell is also a Java-like scripting language. Also which would be better for using in macros.
Upvotes: 0
Views: 1608
Reputation:
JavaScript is a high-level, dynamic, untyped, and interpreted programming language. BeanShell is another language which has the similar grammar as Java. When talking about the difference, the basic things are the same but there are some differences between grammar and usage. Javascript is a kind of Embedded script file, and it can be inserted into web page, build and run in browser. But BeanShell and Java can only be run on Virtual Machine, and need to be built before running. Also Java and BeanShell have more strict rule than JavaScript, also more functions and more stronger :)
If you that doesn't solve your question, just comment and I will answer as soon as possible!
Upvotes: 1