Files
ladybird/Userland/Libraries/LibJS
Linus Groh dadf2e8251 LibJS: Make Interpreter::run() a void function
With one small exception, this is how we've been using this API already,
and it makes sense: a Program is just a ScopeNode with any number of
statements, which are executed one by one. There's no explicit return
value at the end, only a completion value of the last value-producing
statement, which we then access using VM::last_value() if needed (e.g.
in the REPL).
2021-03-16 10:08:07 +01:00
..
2021-03-11 12:32:53 +01:00
2021-02-23 20:56:54 +01:00
2021-02-23 20:56:54 +01:00