Operators define a quick way of implementing complex functionality with a short concise easyto use syntax. ColdFusion exposes multiple operators to ease out the complex operations. With this objective in mind, we have introduced theSpreadandRestOperators.
Spread Operator:Spread Operator allows an Iterable Object(Array/Struct/String) to be expanded into individual elements. The Spread Operator is represented byThree Dots(…).
The Rest operator operator is similar to Spread Operator but behaves in opposite way, while Spread syntax expands the iterables into individual element, the Rest syntax collects and condenses them into a single element.