Files
ladybird/Userland/Libraries/LibJS/Runtime
Andreas Kling 5ce9305c5f LibJS: Implement the PrepareForOrdinaryCall abstract operation
This is used by VM::call_internal() and VM::construct() which roughly
map to function objects' [[Call]] and [[Construct]] slots in the spec.

Reorganizing this code revealed something weird: NativeFunction gets
its strictness by checking VM::in_strict_mode(). In other words,
it inherits the strict flag from the caller context. This is quite
weird, but many test-js tests rely on it, so let's preserve it until
we can think of something nicer.
2021-07-02 21:44:08 +02:00
..
2021-06-13 00:33:18 +01:00
2021-06-05 14:56:58 +01:00
2021-06-27 22:40:49 +02:00