As I understand it Salesforce CommerceCloud uses Rhino JavaScript, but sadly I cannot find what version it is, which is important for understanding compatibility. Is there any documentation that describes this, and/or is there a way to output the JavaScript engine version?
It depends on the compatibility mode.
Compatibility mode | Rhino Version | VERSION_ES6 |
---|---|---|
22.7 | 1.7.14 | set |
21.2 | 1.7.13 | set |
earlier ones | 1.7R5 | not set |
GitHub SFCC community docs FAQ (requires login) also provides this information.