[...x] -> x.slice(0)

This commit is contained in:
Henning Dieterichs 2021-12-08 13:56:39 +01:00
parent 137ea7552b
commit c893442a6a
No known key found for this signature in database
GPG key ID: 771381EFFDB9EC06

View file

@ -160,7 +160,7 @@ export class CursorCollection {
if (this.cursors.length === 1) {
return;
}
let cursors = [...this.cursors];
let cursors = this.cursors.slice(0);
interface SortedCursor {
index: number;