It's all about the answers!

Ask a question

What version ECMAScript is the RTC server JavaScript engine?

Davyd Norris (2.4k217) | asked Jun 18 '19, 9:53 p.m.
Hoping the Jazz Devs can help with this one.

I've just found out that the server-side JavaScript engine doesn't support the includes() method on Strings or Arrays. Unfortunately I had to find this out by discovering masses of exceptions in the ccm.log file!

It would be really, really good if:
 - the supported ECMAScript version was published in the online help somewhere
 - the Eclipse Work Item script editor had some error checking in it that at least told you if you were using unsupported functions (the editor says my scripts are perfectly valid)
 - the online help told you what JavaScript works and what doesn't, apart from the regular ECMA version problems
 - the server has some way of letting you know while you are scripting instead of purely via the ccm.log

Is there anywhere where this is documented please?

Accepted answer

permanent link
Luis Peregrina (18114) | answered May 06 '20, 4:36 p.m.

 For reference, we use Rhino. It's ECMA-262, 3rd edition.

Davyd Norris selected this answer as the correct answer

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.