Array destructuring reads items into variables in position order.
const sizes = ["small", "large"];
const [firstSize, secondSize] = sizes;firstSize receives sizes[0]: "small".secondSize receives sizes[1]: "large".Destructure route into startCity and endCity, then display Route: Stockholm to Uppsala.