How to use migrate jQuery plugin?

Migrate plugin is created to simplify the transition from older versions of jQuery to newer ones . Upgrading libraries such as jQuery can be a lot of work, when new changes have been introduced. When introducing a new feature on top of old ones, it seems to step into a tedious swamp of workarounds and dirty hacks. jQuery Migrate plugin makes this easier, by restoring the APIs that were removed, and additionally shows warnings in the browser console (development version of jQuery Migrate only) when removed and/or deprecated APIs are used. example Load this plugin after the script tag for jQuery:
<script src="https://code.jquery.com/jquery-3.4.1.js"></script> <script src="https://code.jquery.com/jquery-migrate-3.4.2.js"></script>
jQuery Migrate (jquery-migrate.min.js) is a JavaScript library that allows you to preserve the compatibility of your jQuery code developed for versions of jQuery older than 1.9.