did you tried this?
this.map.on("zoomend", () => { console.log(this.layers["layer1"]); });
you just need to define the layer before.