Advertisement
728x90
javascript
1const obj = { key: "value" };
2
3const array = [...obj];
4
5console.log(array);Choose the correct output:
A
['key', 'value']B
TypeErrorC
[]D
['key']Advertisement
Responsive Ad
43of86
Advertisement
1const obj = { key: "value" };
2
3const array = [...obj];
4
5console.log(array);Advertisement