Solution:
Using child’s theme functions.php is the best practice .
But if you don’t want to use functions.php then you can call js file through footer.php or header.php too.
Please note i recommend and it is the safest to make child theme for any customisation and use Child theme’s functions.php.