ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator What version of JS does CC use?
person icon
darthhawk
Registered User
Quote
2023-08-18 10:17:09

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 :)

person icon
okeoke
Registered User
Quote
2023-08-18 11:48:47

ES3, spidermonkey 1.8

person icon
darthhawk
Registered User
Quote
2023-08-19 03:18:32

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?

person icon
darthhawk
Registered User
Quote
2023-08-19 03:24:07

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...

person icon
darthhawk
Registered User
Quote
2023-08-19 03:35:33

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.

person icon
Guest
Guest
Quote
2023-08-19 07:21:58

Isn’t Coppercube using ES5 if I’’m not mistaken

person icon
okeoke
Registered User
Quote
2023-08-19 07:56:37

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.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |