You can use the built in splice function here:

`@data.features.splice(-1)`