Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

What version ECMAScript is the RTC server JavaScript engine?

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?

1 vote


Accepted answer

Permanent link

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

Davyd Norris selected this answer as the correct answer

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,925
× 152

Question asked: Jun 18 '19, 9:53 p.m.

Question was seen: 2,187 times

Last updated: May 06 '20, 4:36 p.m.

Confirmation Cancel Confirm