Add script into woocommerce checkout page

We can easily add our custom script in woocomerce checkout page by adding the following fuction in function.php of active theme folder