What version of Javascript does cloud code support?
-
Hi,
I'm wondering if cloud code is ES5 or ES6?
Ima.
-
brainCloud's Cloud Code is based on Apache Rhino, which is an open-source implementation of JavaScript. This engine is highly sandboxed within the brainCloud API servers for security purposes.
brainCloud currently ships with Apache Rhino version 1.7.7.1.
Rhino implements JavaScript 1.7, and is basically ES4 with partial ES5 and ES6 support.
Summary from a Stack Overflow discussion here:

Hope that helps!
Paul.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login