function createByteArray(n) {
  const arr = [];
  for (let i = 0; i < n; i++) {
    arr.push(i);
  }
  return arr;
}
@fileoverview
@suppress {strictMissingProperties,missingProperties} suppression added to
enable type checking