eval operator with != 1 arguments

Brendan Eich brendan at mozilla.com
Fri Jan 15 17:33:24 PST 2010


On Jan 14, 2010, at 6:27 PM, Mike Samuel wrote:

> Any thoughts on whether (eval(a, b)) should be an invocation of the
> eval operator?

What do current browsers do? It's an eval operator in Mozilla-based  
browsers. Seems to be eval (dynamic scope, not global scope) in Safari  
too.

What would be the benefit of changing a future edition to make such an  
eval "indirect"?

/be



More information about the es-discuss mailing list