Bezier function points problem

It says that the function accepts a number[][][]. However, on the code:
Untitled

If you try to put a number[][][] it won’t compile, but if you put a number[][] you get a runtime error:
Untitled2

These are the points:
[[[0,0,0],[0.1,0.1,0],[0.1,-0.1,0],[0.2,0,0]]]

3 Likes