Hacker News new | ask | show | jobs
by FrontAid 1199 days ago
Can you make an example of features/styles that have been replaced? I'm not really sure what you mean by that.
3 comments

The classic example is .then .catch callbacks vs async await, though .then is still occasionally useful.
As an example, the immediately invoked function expression (IIFE) has been superseded by ES 6 modules.
Others have provided great examples of what I meant.