In this tutorial, you will learn about the JavaScript Array include () method with the help of examples. The includes () method checks if an array contains a specified element or not. You can organize constant and macro definitions into include files (also known as header files) and then use # include directives to add them to any source file. Include files are also useful for incorporating declarations of external variables and complex data types. The types may be defined and named only once in an include file created for that purpose. The path-spec is a file name that may optionally be preceded by a directory specification. The file name must name an existing file. The ... Learn the meaning, pronunciation and grammar of the verb include , which means to have something as part of something else. See examples, synonyms and related words in the Oxford Advanced Learner's Dictionary. To include (Infinitive) Purpose or Intention: Use the infinitive "to include " when you want to express a purpose, intention, desire, or potential action