What is … in ES6?

The … in ES6 is called a spread operator. It is used to access multiple elements in an object.


var container = [1, 2, 3];
var nextContainer = [...container, 4, 5, 6];

More examples in the future once I start using them in future use cases for our platform.

Like what you read? Give Charles Akio Javelona a round of applause.

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