The output of the given code snippet would be:
1 [2, 3, 4]
In this code snippet, an array destructuring assignment is used to assign values from the right-hand side array [1, 2, 3, 4] to variables x and y. - The first value 1 is assigned to the variable x. - The rest of the values 2, 3, 4 are collected into an array and assigned to the variable y. When we `console.log(x, y)`, it will output 1 for x and [2, 3, 4] for y.