function str(a) {
  return "quat(" + a[0] + ", " + a[1] + ", " + a[2] + ", " + a[3] + ")";
}
Returns a string representation of a quatenion

@param {ReadonlyQuat} a vector to represent as a string
@returns {String} string representation of the vector