I am in the process of learning developing web applications. While building different components of the application, I take help from online examples and try and see if it helps in achieving my functional objectives. In one of my application I am using two different versions of jQuery.
<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
I tried, removing 1.12.4 version and ran my application, and it did work without any trouble.
My question is, is it really necessary to have both these libraries? Do they provide different functions or is 3.1 is actually an upgrade of 1.12.4.? In other words, does 3.1.0 have all the functions of 1.12.4?
When my application worked correctly, without one of the library, is it because that the functions were held and the cache and was getting referred to?
Quite confused.
I am sure this is a generic question and afraid if this qualifies for downvoting. But for a self learner like me, the guidance from the community is not only valuable but also helps me understand whatever I am doing is right or wrong.