Control Structures

Goals

If-Then-Else

if (numberDevices > 0) {
        log("Great work! I found >" + newDevices.length + "< devices!")
    }
    else {
        log("Uggh, something went wrong. I didn't detect any devices!");
    }

Switch-Case

Coming soon.

Last updated

Was this helpful?