-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execute Javascript documentation issue #244
Comments
sry for commenting this but I was really confused with returning value.
were not working and then I tried this:
The return statement ends function execution and specifies a value to be returned to the function caller. Example of returning anything should be shown as( this is working at the moment :D ) : Execute Javascript return a=1+1 |
Sounds like we need more clarification. |
@gjemp I updated per my comments above - see d993370. FYI you can find more examples in this Javadoc |
The documentation says "code may contain multiple lines of code but must contain a return statement (with the value to be returned) at the end."
This should be re-worded to reflect that the keyword has a return value of None unless you have a return statement at the end of the script. A return statement is not a "must".
The text was updated successfully, but these errors were encountered: