The documentation says that functions can use ES6+ features (https://docs.mongodb.com/stitch/functions/), however creating a typed array results in an error:
> error:
ReferenceError: 'Uint8Array' is not defined