couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Smith (Commented) (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1397) Function expressions, evals in SpiderMonkey
Date Fri, 03 Feb 2012 15:57:54 GMT


Jason Smith commented on COUCHDB-1397:

And since when has the contents of "map" become a global scope? Who made that decision? Was
it you?

Really, if eval() is the only arrow in your quiver then it's no wonder you see the problem
this way.

And how have you decided so-called "source-to-source translations" are out of the question?
They are the backbone of JavasScript encapsulation, undergirding CommonJS (CouchDB and Node),
RequireJS, Ender.js, and no doubt more.

It's just a couple of parens on either side. Look into your heart. You know it's the right
> Function expressions, evals in SpiderMonkey
> -------------------------------------------
>                 Key: COUCHDB-1397
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.2.1
>         Environment: All
>            Reporter: Jason Smith
> New SpiderMonkey releases do not eval() a sole anonymous function expression. That is
not a valid JavaScript statement, and so it is not a valid JavaScript script.
> COUCHDB-1302 addressed this for 1.1 and the 1.1.x branch. This ticket is for 1.2. (Sorry
to spam COUCHDB-1302. I saw "Unassigned" and read "Unresolved.")

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message