Check out example codes for "how to open chrome using cmd". It will help you in understanding the concepts better.

Code Example 1

// run this on you terminal
// for windows
chrome

// for the Linux
goole-chrome

Learn ReactJs, React Native from akashmittal.com