VictorTaelin/WebMonkeys

Setters don't set

Open

#8 opened on Aug 28, 2016

View on GitHub
 (8 comments) (0 reactions) (0 assignees)JavaScript (1,163 stars) (57 forks)batch import
bughelp wanted

Description

First off, awesome work on this project! It really looks great.

I am running a modified version of the squareNumbers example (I have tried this on the original code as well):

const monkey = WebMonkeys()

monkey.set('res', [1, 2, 3, 4, 5])
monkey.work(5, 'res(i) := res(i) * res(i);')

console.log(monkey.get('res'))

But the final output seems to be the original 'res' array instead of the squares.

This happens with all of the examples. None of the 'set' statements seem to work for me.

Contributor guide

Setters don't set · VictorTaelin/WebMonkeys#8 | Good First Issue