Sign In Register

How can we help you today?

Start a new topic

Cloud code support for Javascript ES6

It's probably a long shot, but ES6 contains many improvements over ES5, and it would make coding for GameSparks less painful for nontrivial projects. Once you get used to ES6 features, it's really hard to go back to the stone age. :) So, I'd like to suggest an upgrade.


8 people like this idea

Ohhh, maybe there's hope! :D
https://groups.google.com/forum/#!topic/mozilla-rhino/Z-Rq8sfIWUk


I would also like to see this, any news from the GameSparks team?

Any clue on this?


Best,

Ignacio

Any news on this? 

Hi,


The Cloud Code engine has recently been upgraded to Rhino 1.7.7.1 . You can read more about the upgraded features here.


Regards

Liam

Gah, still no template literals. RIP, Rhino development is incredibly slow.


var myName = 'Jon Snow';

var greetings = 'Greetings, '${myName}'!; // Error


Have to type it as:


var greetings = 'Greetings, ' + "'" + myName + "'!"


I'm about to make a giant parsing string to post a thread on our Discourse forum for reporting. This is not going to be fun without template literals ~


1 person likes this

sorry to necro a thread but i find template literals a necessary feature as well. Really helps make everything so much better. 



1 person likes this
Login to post a comment