I\'m trying to loop the the .map function until the condition is met. I want to break the loop once the condition is met but i get the illegal break statement output. Im fairly