remove accidental function name
This commit is contained in:
parent
dcad607704
commit
bd7e9ee36c
@ -25,7 +25,7 @@ tree.Operation.prototype.eval = function(env) {
|
||||
return a.operate(this.op, b);
|
||||
};
|
||||
|
||||
tree.operate = function operate(op, a, b) {
|
||||
tree.operate = function(op, a, b) {
|
||||
switch (op) {
|
||||
case '+': return a + b;
|
||||
case '-': return a - b;
|
||||
|
Loading…
Reference in New Issue
Block a user