title: How can I get the length of a vector in a function whose argument is that vector in Google Apps Script?
body: <p>With the code below,</p>
  <p><code>function transpose(v) { return v.length; }</code></p>
  <p>I get the message</p>
  <p>TypeError: Cannot read property 'length' of undefined</p>
  <p>can somebody kindly let me know how to fix this?</p>