operator [] method Null safety

SourceBuffer operator [](
  1. int index
)

Implementation

SourceBuffer operator [](int index) {
  if (JS("bool", "# >>> 0 !== # || # >= #", index, index, index, length))
    throw new RangeError.index(index, this);
  return JS("SourceBuffer", "#[#]", this, index);
}