mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-08 16:12:23 +02:00
Previously it would pass in `is_arrow_function` as `contains_direct_call_to_eval`, which broke strict mode propagation in arrow functions. This makes test-js work without falling apart because `this` is mysteriously undefined because of the use of arrow functions inside classes, which are strict mode by default.
45 KiB
45 KiB