Atlassian interview question

How do you solve a promise.any