Sets a table element by its index.
void operator []=(int index, Object? value) => jsObject.set(index, value);