Sequential Promise Resolution

Company: Rippling

Difficulty: easy