SharedArrayBuffer constructor

SharedArrayBuffer(
  1. [int? length]
)

Implementation

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