Files
ladybird/Libraries/LibJS
Jack Karamanian d4e97b17ab LibJS: Use a non-arrow function to check the |this| value in the
callback for Array.prototype.{reduce,reduceRight}

Arrow functions always retain the |this| binding.

Running this code in Node:

[1, 2].reduce(() => { "use strict"; console.log(this === undefined) }

Output: false
2020-05-30 10:33:24 +02:00
..
2020-05-05 09:15:16 +02:00
2020-05-29 16:20:32 +02:00