Check out example codes for "debug.log unity". It will help you in understanding the concepts better.

Code Example 1

Debug.Log("Hello, World");

Code Example 2

Debug.Log("Hello World");

Learn ReactJs, React Native from akashmittal.com