|
|
|
|
|
by technion
1022 days ago
|
|
I've always advocated for feature detection. If you test for typeof Object.assign !== 'function' you can be sure you have a reasonably recent browser. If you want fetch, test for window.fetch. This sort of thing always feels like it's going against the grain, with someone always asking "why wouldn't you do this properly. You know, build an allow list of user agents and match against them". I fully support people being forced into detecting the features they want and doing away with this nonsense, |
|
The web platform gave web developers way too much freedom and they're abusing it. God giveth and god taketh away.