Hi When We are creating A/B Testing activity with the help of adobe target some of the es6 features are not working because $ is That syntax is used by Target for dynamic data in offers which is why it’s getting removed/replaced
We will create a profile script like ${profile.name} wich is used by server side rendering purpose in this case when we use ${javascript variable} that is also replace with server side rendering language.
So this can be resolved with a small change we need to do when we write any javascript variables
var testData = "hi"
console.log(`${testData}`);
The above code will not work in adobe target VEC , Form Based Activity , ab testing , experiance testing, so the solution for this is
Solution
console.log('$${false}{testData}');