Hey, I have a problem with my constructor properties. I've created a class "elementObject" with the properties you can see in the screenshot. Everything works fine, expect the "listIndex" property. The variable "listElements" is from type number filled with the count of existing elements. The value works perfectly in the "name" and "html" properties.
When I create a new object from type elementObject and write "console.log(element.listIndex)" the console report says "undefined"