Rosetta Code: Vector dot product is nonsensical

Hi guys, found a little problem with a ported question which I don’t think matches the source and as currently stated is wrong

Write a function that takes any numbers of vectors (arrays) as input and computes their dot product.

This doesn’t make any sense, the dot product is an operation between two vectors that produces a scalar.

I’m assuming the question wants something like three vectors (generalised to n) to be fakeDot(a,b,c) = a.x * b.x * c.x + a.y * b.y * c.y + a.z * b.z * c.z however this isn’t a useful quantity and certainly shouldn’t be called the dot product!

Rosetta Code as far as I can see doesn’t have a question on this - indeed under vector products their question is for vectors of arbitrary length and not of arbitrarily many vectors.

Please let me know if I’ve misunderstood or missed something