Skip to content

Commit

Permalink
Update array.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
locks committed Sep 20, 2023
1 parent 193214b commit 89089e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/src/-private/array.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const ARRAY_GETTER_METHODS = new Set<string | symbol | number>([
'concat',
'entries',
'every',
'fill',
'filter',
'find',
'findIndex',
Expand All @@ -41,6 +40,7 @@ const ARRAY_GETTER_METHODS = new Set<string | symbol | number>([
// For these methods, `Array` itself immediately gets the `.length` to return
// after invoking them.
const ARRAY_WRITE_THEN_READ_METHODS = new Set<string | symbol>([
'fill',
'push',
'unshift',
]);
Expand Down

0 comments on commit 89089e9

Please sign in to comment.