jashkenas/coffee-script — Issue #2010: Error in FAQ
Author: weepy
Created: 2012-01-05 17:11:24+00:00
State: open

In the FAQ: "Use of eval will place the variable in the global scope, which is bad"

I don't believe this to be correct. E.g.

```
function f() {
eval("var y = 123");
console.log(y)
};
f();
console.log(y);
```

outputs:

```
123
ReferenceError: y is not defined
```

So the eval is not in the global scope - so I think the answer is misleading really.