Atlassian Interview Question

How do you solve a promise.any