Hi Aurélien,

Cloudant currently uses an ES5 Javascript engine.

Cheers,
-Nick

On Thu, May 18, 2023 at 12:07 PM Aurélien Bénel <[email protected]> wrote:
>
> Dear all,
>
> Lately I changed my habits on CouchDB and started to use ES6/ES7 features for 
> map functions (arrow functions, spread operators...). I was very happy to use 
> them until I realized that hence I couldn't replicate my design documents 
> from CouchDB to Cloudant.
>
> I suppose there are other people on this list who want to keep the 
> compatibility with both CouchDB and Cloudant...
> Can you please confirm that Cloudant uses an older javascript engine than 
> CouchDB?
> Which javascript features work on CouchDB and not on Cloudant?
> Do you use tools (validators or transpilers) to keep your code compatible 
> with both?
>
>
> Best regards,
>
> Aurélien

Reply via email to