Drupal 9 has removed several core JavaScript libraries, mostly related to jQuery UI. Contrib and custom code using any of these libraries needs to be fixed prior to upgrading core to 9.X.
Here's a list of deprecated core libraries:
- classList
- domready
- html5shiv
- jquery.ui.accordion
- jquery.ui.checkboxradio