This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCU-PLUS-SDK-AM243X: JavaScript Version of Scripting Console

Part Number: MCU-PLUS-SDK-AM243X

Hello together,

I have some questions regarding the Scripting Console of CCS.

Which JavaScript version is understand by the interpreter? I cannot find anything in the documentation about this topic.

I stumpled over this because I wanted to search in an array for a value. and tried the following code:

var array = new Array(1, 2, 3, 4);

var found = array.find(element => element > 4); // does not work

Also for example this is not working:

var array = new Array(1, 2, 3, 4);

var elem = array.at(0); // does not work

But the length property is available.

var array = new Array(1, 2, 3, 4);

var len = array.length; // works returns 4

So what is the exact feature set of the JavaScript language. There is some documentation in CCS abourt the "TI" additions but not what of the JavaScript Standard is supported.

Thanks!

Fabian