3 ms·
I think we're saying that most modern polyfills do a feature check before installing the polyfill... thus if you use Chrome with an IE agent, the polyfill still
by coldnebo 12y ago
I think we're saying that most modern polyfills do a feature check before installing the polyfill... thus if you use Chrome with an IE agent, the polyfill still checks before implementing -- it's just a little slower than not installing the polyfill to begin with. Anyway, given the percentage of people who do this, UA detection seems like an acceptable tradeoff.
- ben336 12y agoAgreed, feature detecting afterwards makes sense. Others seem to be suggesting feature detecting before requesting the polyfill script.