src/vs/editor/common/diff/diffComputer.ts/CharSequence/_assertIndex
class CharSequence:	private _assertIndex(index: number, arr: number[]): void {
		if (index < 0 || index >= arr.length) {
			throw new Error(`Illegal index`);
		}
	}