Hi Rob,
To explain my point I am giving the following example.
The above
test code uses the following codes.js file
Once I run the code It will print 21.
Now my question is that instead of this .js file if I have a unix shell script which contains some function then is there a way to execute in the same way? For that we require a separate ScriptEngine. So is there already some script engine present?
Once again thank you for response.