Check out example codes for "How to move multiple lines code together left or rights". It will help you in understanding the concepts better.
Code Example 1
Moving lines left or right, i.e. changing the level of indentation, can be done in almost all code editors using Tab and Shift+Tab.
Learn ReactJs, React Native from akashmittal.com