mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
Pass values to functions, not variables.
This commit is contained in:
parent
502dade90a
commit
9116793fb9
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ function interpret(start, { commands, methods, variables, classes }) {
|
|||
|
||||
const methodArgs = [];
|
||||
while (argCount--) {
|
||||
methodArgs.push(stack.pop());
|
||||
methodArgs.push(stack.pop().getValue());
|
||||
}
|
||||
const variable = stack.pop();
|
||||
const obj = variable.getValue();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue