Thanks for an answer!
Please someone help me with that.
Why in extendscript theres a document.activeLayer.layers property, and in sdk there isn't?
Is there a way of passing Array of Layer objects from jsx to as? I managed to get an array of strings, but how to do the same with Layer() ?