This project is read-only.

What is Run() supposed to return?

Nov 13, 2012 at 10:31 PM

AFAI understand from the source it should the output of the script, right? If yes, what we mean by output? I thought a return statement will work, but it isn't.

Thanks in advance.

Nov 14, 2012 at 1:53 AM

It might be the result of the last expression.  i.e. omit the 'return'

Nov 14, 2012 at 12:03 PM

Thanks! So you mean after running this:

var greeting = "hello";
greeting;

Run() should return "hello"?

Nov 14, 2012 at 4:30 PM

Have tried, it indeed returns "hello".