I would like to note that the problem in the original question is no longer relevant today. And there is an even shorter version of this solution:
selectElement.length = 0;
I checked that both versions work in Firefox 52, Chrome 49, Opera 36, ββSafari 5.1, IE 11, Edge 18, the latest versions of Chrome, Firefox, Samsung Internet and UC Browser on Android, Safari on iPhone 6S, Android 4.2. 2 stock browser. I think that we can safely conclude that it is absolutely compatible with any device that is now, so I recommend this approach.
user Apr 29 '19 at 4:36 2019-04-29 04:36
source share