The electric went off but never opened miracle whip salad dressing up so is it safe to eat?

If the mayonnaise salad dressing was unopened when the power went out, and if it remained cool, it did not have to be refrigerated until after it was opened. Mayonnaise-based salad dressings are shelf stable until opened, and refrigeration is meant to maintain quality once the jar has been opened. Even after opening, if refrigerated promptly and used shortly after, or properly discarded at the end of its lifespan in the refrigerator, it should still be safe to consume.

However, it's always best to check the container for any signs of spoilage, such as a change in texture, color, or smell, just to be sure. If you notice anything unusual, it's best to err on the side of caution and discard it.