What is stored in the triangle array?

What is stored in the triangle array?

let point = [1,3], segment = [point,[5,5]], triangle = […segment,[1,8]];

1 Like

options

23
[1,3,5,5,1,8]
[ [1,3], [5,5], [1,8] ]

the correct ans is triangle=[1,3,5,5,1,8]

2 Likes

Option 2 is the right answer [1,3,5,5,1,8]

1 Like