Of course the equivalent examples are dated, they're intended to work in old versions of IE so that they support the same versions as jQuery. You can't use fetch instead of jQuery if you need to support IE9.
Just use something like babel to compile your ES6 code. Jquery really isn't necessary anymore and honestly its better to just get more fluent with ES6 for your career anyways. None of the technical architects at my company are interested in new hires knowing Jquery anymore.
19
u/SupaSlide laravel + vue Feb 13 '19
Of course the equivalent examples are dated, they're intended to work in old versions of IE so that they support the same versions as jQuery. You can't use fetch instead of jQuery if you need to support IE9.