The title contains the full question actually.
I could not find a relevant documentation.
I believe that Mozilla Spider Monkey is used for executing the design documents.
The build documentation for CouchDB 2.0 state Mozilla Spider Monkey 1.8.5 as a dependency.
You can find the release notes for 1.8.5 contain the following: