Control Structures

Goals

circle-check

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

circle-info

Coming soon.

Last updated