SharedArrayBuffer 构造函数

SharedArrayBuffer(
  1. [int? length]
)

实现

factory SharedArrayBuffer([int? length]) {
  if (length != null) {
    return SharedArrayBuffer._create_1(length);
  }
  return SharedArrayBuffer._create_2();
}