Move Js From Head To Bottom In Magento2

Magento 2 JavaScript extension allows you to enable deferred JavaScript loading and move JS code from the head to the bottom automatically. That way you increase the website loading speed and eliminate render-blocking.
So basically javaScript < script > tags just before the closing < /body > tag or in thesection of your HTML. The reason for this is that HTML loads from top to bottom.The head loads first, then the body, and then everything inside the body.

1. Admin configuration

Stores > Advanced > Developer > javascript settings > Move js code to the bottom of the page
Move-js