It says that the function accepts a number[][][]
. However, on the code:
If you try to put a number[][][]
it won’t compile, but if you put a number[][]
you get a runtime error:
These are the points:
[[[0,0,0],[0.1,0.1,0],[0.1,-0.1,0],[0.2,0,0]]]