I\'m having trouble creating an indicator for a promise to resolve. I have a function that I need to trigger 10 similar statements as follows:
if(x>someNum){ o