Files
  • index.js
  • package-lock.json
index.js
1
2
3
4
5
6
7
8
9
const x = {
  one: 1
}

const y = [
  x
]

console.log(y);
node v10.15.2 linux/amd64