Consider the following examples
An old project:
const [x, ...y] = "text"; console.log(x) // "t" console.log(y) // "ext" <