You forget that these examples are for beginners/junior developers.

Having trouble with the examples? ES6 is the new standard. ES5 is obsolete and quickly falling out of favor.

Please read this response.

Like what you read? Give Eric Elliott a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.