3 ms·This approach moves an `if` statement out of the loop, so there's no need to repeat it.by bowild 8y agoThis approach moves an `if` statement out of the loop, so there's no need to repeat it.