1var num = [2, 4, 6, 8, 10];
2console.log(...num)
3//expected output: 2 4 6 8 10
4console.log(88, ...num, 99)
5// added extra new elements before and after the spread operator
6//expected output: 88 2 4 6 8 10 99
1var num = [2, 4, 6, 8, 10];
2console.log(...num)
3//expected output: 2 4 6 8 10
4console.log(88, ...num, 99)
5//expected output: 88 2 4 6 8 10 99
1function myFunction(v, w, x, y, z) { }
2let args = [0, 1];
3myFunction(-1, ...args, 2, ...[3]);
1var num = [2, 4, 6, 8, 10];
2console.log(...num)
3//expected output: 2 4 6 8 10
4console.log(88, ...num, 99)
5// added extra new elements before and after the spread operator
6//expected output: 88 2 4 6 8 10 99
1var num = [2, 4, 6, 8, 10];
2console.log(...num)
3//expected output: 2 4 6 8 10
4console.log(88, ...num, 99)
5//expected output: 88 2 4 6 8 10 99
1var num = [2, 4, 6, 8, 10];
2console.log(...num)
3//expected output: 2 4 6 8 10
4console.log(88, ...num, 99)
5//expected output: 88 2 4 6 8 10 99
1var num = [2, 4, 6, 8, 10];
2console.log(...num)
3//expected output: 2 4 6 8 10
4console.log(88, ...num, 99)
5// added extra new elements before and after the spread operator
6//expected output: 88 2 4 6 8 10 99
1var num = [2, 4, 6, 8, 10];
2console.log(...num)
3//expected output: 2 4 6 8 10
4console.log(88, ...num, 99)
5// added extra new elements before and after the spread operator
6//expected output: 88 2 4 6 8 10 99