Files
ladybird/Userland/Libraries/LibJS/Bytecode
Andreas Kling d364d99cb8 LibJS/Bytecode: Perform ToNumeric on accumulator before postfix inc/dec
This ensures we get the expected behavior of code like:

    let a = []
    let b = a++

(Where b should be 0, not [], because JavaScript.)
2023-06-16 12:56:39 +02:00
..
2023-05-24 23:18:07 +02:00