Check out example codes for "kano magic wand". It will help you in understanding the concepts better.

Code Example 1

system.out("lol")

Learn ReactJs, React Native from akashmittal.com