How does the REPL work?

If you have worked with Node.js, Python, or a few other interpreted languages in the past, the REPL may not be new to you. It allows you to write statements into the CLI at runtime to generate results straight from the language engine. This can be very helpful when debugging code, as you can get a glimpse into and modify the state of code at runtime. This is also true in Johnny-Five: the REPL allows us to insert Johnny-Five objects, so we can look at manipulating them at runtime. We're going to use this to play with our RGB LED and control it from the command line.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.126.199