improve comments and re-add some excluded operations

This commit is contained in:
d98762625 2019-07-05 10:22:14 +01:00
parent 1c24c05647
commit d2ff2ec9c6
4 changed files with 7 additions and 10 deletions

View file

@ -78,7 +78,7 @@ class NodeRecipe {
*/
execute(dish) {
return this.opList.reduce((prev, curr) => {
// CASE where opLis item is op and args
// CASE where opList item is op and args
if (curr.hasOwnProperty("op") && curr.hasOwnProperty("args")) {
return curr.op(prev, curr.args);
}