const parking = new ParkingLot(5) It will result in this: // lenght = 5 instead of // empty array, length 0. For further clarification deployments slots should be used for Blue-green deployment or canary releases.
If the changes swapped into the production slot aren't as you expect, you can perform the same swap immediately to get your 'last known good site' back. After a swap, the slot with previously staged app now has the previous production app.