01:00
<bakkot>
shu: re https://github.com/tc39/ecma262/pull/2646, did you know that TA.prototype.sort _also_ has a per-iteration detachedness check?
01:02
<bakkot>
it doesn't even get you anything because you have to read all of the values out of the buffer before the loop anyway, since compareFn can write to the buffer
11:35
<Ashley Claymore>
My guess is this was missed when https://github.com/tc39/ecma262/pull/1585 landed? Before es2021 the order of calls to [get] and comparefn was implementation defined. From es6 onwards there has always been that detached check
18:27
<shu>
bakkot: lol i did not