how to add js in flask

JavaScript
<script src="{{url_for('static', filename='js/modernizr-2.6.2.min.js')}}"></script>
Source

Also in JavaScript: