is there any way to get all the returns from eval? Let's say I have a string with which I should have more than one answer, how would I be able to get them all?
I tried something like: let result = eval("let x = 10;x; let y = 20; y;"); console.log(result)
// the result is just the value of y