Forum Discussion
Thanks for your reply! The below example does not work for me. Please try for yourself. Seems it should work with this older syntax.
const demoClass = {
Prop1: "Property 1",
Prop2: "Property 2"
}
function Demo(){
//1) type the "." to get code completion
//2) does popup show Prop1 & Prop2?
demoClass.
}
Thanks for the code, but it's not going to work for me either! As I'm using the same JavaScript engine that comes with TestComplete.
- GsCoder5 months agoOccasional Contributor
Thanks for your reply, it's greatly appreciated. Perhaps instead you would share with me an example of JavaScript code that DOES work (code completion shows) with the JavaScript engine that comes with TestComplete. Specifically, a class with 2 properties and if possible a function too. You can copy my code and adjust to whatever syntax you know DOES work with the JavaScript engine that comes with TestComplete.
Thanks in advance!- rraghvani5 months ago
Champion Level 3
The issue is with TestComplete, it will not work. It will not work for any users, using TestComplete.
- GsCoder5 months agoOccasional Contributor
Thank you again for your time.
I thought from your previous post if the code implemented adhered to the version of JavaScript that TestComplete uses that it would work.
Are you saying that it does not work for JavaScript at all?