When I was just getting started with jquery, the downloaded files include jquery. vsdoc. JS, jquery. min. JS and jquery. JS is not very clear about the role of each file and the package to be introduced. Sometimes the introduction of jquery. Min. js can be executed, and sometimes the introduction of jquery. js can also be executed. Now let's make a simple description.
The functions of the two files are exactly the same, but from the file or above we know that jquery. Min. js should be a mini version, that is, the file will be very small.
Jquery. vsdoc. js provides smart prompts and Automatic completion when editing in Visual Studio.
In jquery. JSCodeIs the original code without processing, suitable for people to read and research.
Jquery. min. the code in JS has been specially processed. For example, the variable names are basically written as a letter, and the format indentation is deleted. therefore, the file size is relatively small (min), which is generally called on the webpage.
The conclusion is that jquery-1.4.2.min.js is optimized, and query-1.4.2.js is easy to develop and read.