How can we make the lines of code inside the braces run twice?

By calling searchForDevice() twiceBy creating the function twice

We make the code inside the braces run twice by calling searchForDevice() twice.