provided that such scripts and code do not change the primary purpose of
the Application by providing features or functionality that are inconsistent
with the intended and advertised purpose of the Application as submitted
to the App Store.
IMO, Apple specifically carved out the exception for JS for WebKit/WebViews, to make using web views in apps possible. I'm quite certain they didn't have in mind React Native auto-downloading JS bundles to bypass App Review. Apple wouldn't be a fan of that.
Now, the complete opposite of this is their favoured tech for developing new Apple TV apps, TVML, explicitly allows and is designed for updates bypassing App Review. In fact, most of the app logic and UI is delivered from your own server.
Given the stuff you can change its pretty clear you could completely change the user experience. So yes, it would be a pretty big "hole" in the app experience management policy.