What is Run() supposed to return?

Nov 13, 2012 at 9: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 12:53 AM

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

Nov 14, 2012 at 11:03 AM

Thanks! So you mean after running this:

var greeting = "hello";

Run() should return "hello"?

Nov 14, 2012 at 3:30 PM

Have tried, it indeed returns "hello".