for loop III - abort running loop

The loop below iterates through the elements of the array mixed and appends each one to newArray. We want to abort the loop as soon as the current element is not of type number. Complete the if statement so that break runs when the current element is not a number.
JavaScript
Console