More generally, as others have noted, airlines don't really keep spare planes around. However, many of the planes out of service for maintenance could be pressed into service if needed without too much hassle, especially at hubs like LAX, so there is some slack in practice.