is there a way to rewrite the descriptor of length in the js array
in js, the array length already has a default descriptor, and configurable is false, so there is no way to override it. Since I want to see if length is cached during the loop (using the length attribute to end a restriction), I want to override the gettet test of length
related codes
/ / Please paste the code text below (do not replace the code with pictures)
for (let i = 10; i < arr.length; iPP) {
//arr.lengthlength
}