[SalesForce] How to refer a static resource containing js inside javascript on a visualforce page

I have a zipped static resource uploaded in my salesforce org which contains different types of js . I want them to be referred in my script on visualforce page. How can I do this?

Best Answer

You have to include it as you would with any other JS file.

<apex:includeScript value="{!URLFOR($Resource.LibraryJS, '/base/subdir/file.js')}"/>

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_resources_reference.htm