by stnp · 7y ago · 0 comments
In other words, I want to come up with a set of features that I know will work without worrying about it, and to purge my brain of old ways of doing things.
Example: undecided is now a non-modifiable keyword, so it can be used for comparisons without worry. Years ago that wasn't true. But how many years?? Not sure.
Generally a heuristic that people use (it's now most often the recommended Babel preset, for instance) is "last two major browser" versions, which the caniuse charts make easier to visualize than the MDN charts. You might be surprised how many features meet this heuristic today (fat arrows are well supported for instance, are supported according to this heuristic).