Is ES6 Supported by Adobe Launch? | Community
Skip to main content
Level 2
March 28, 2024
Solved

Is ES6 Supported by Adobe Launch?

  • March 28, 2024
  • 1 reply
  • 969 views

Hi all,

Just encountering some issues regarding ES6 operations being flagged as errors in Adobe Launch when we try to use them in custom code actions. In 2024. 

The errors mention that I should be able to add a comment or a flag of some sort to enable ES6 compatibility, but I'm not finding any documentation from Adobe that would tell us what precisely that is or how to use it.

Does anyone have any ideas or experience with this?

 

Thanks in advance!

Jordan

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by yuhuisg

Yes, ES6 is supported. What you're seeing are not errors. You're probably seeing warnings that alert you that if you need to support users with older browsers (e.g. Internet Explorer), then your ES6 code won't work. If you are confident that your users are all browsing with modern web browsers, then you can ignore the warnings.

However, I just checked this in Adobe Launch and I don't see any error messages when I input ES6 code. Can you show a screenshot of where you're getting those errors?

1 reply

yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
March 31, 2024

Yes, ES6 is supported. What you're seeing are not errors. You're probably seeing warnings that alert you that if you need to support users with older browsers (e.g. Internet Explorer), then your ES6 code won't work. If you are confident that your users are all browsing with modern web browsers, then you can ignore the warnings.

However, I just checked this in Adobe Launch and I don't see any error messages when I input ES6 code. Can you show a screenshot of where you're getting those errors?

Level 2
April 2, 2024

Thanks for the clarification!