Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
What version of JS does CC use? And does it allow any and all syntax associated with the JS version it uses in scripts or just the CC API? I'm new here obviously :) |
||||
|
ES3, spidermonkey 1.8 |
||||
|
Ok, thanks. If I understand correctly that version of JS was released over twenty years ago. So current JS won't work with CopperCube then? Is there a website somewhere that shows the syntax, key words, that do work for CopperCube for JS? |
||||
|
I asked the question about a webstie with key words because I had previously searched for JS es3 key words but found a bunch of nothing. I just found one website though that has the info. Here it is: https://javascriptbook.com/extra... |
||||
|
No for each loop in CC's version of JS. That's a bummer but good to know. For loops can still be used of course. I'm now going to go find a good JS es3 version book and eat it. |
||||
|
Isn’t Coppercube using ES5 if I’’m not mistaken |
||||
|
I believe ES5 was introduced in SpiderMonkey 1.8.5. ES5 also has some built-in methods and objects that coppercube doesn't have like Object.create and whole JSON object. I'm pretty sure it's ES3. |
|