Fix initialization of 'this' argument in 'call_n' opcode handler.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
This commit is contained in:
1 parent
c84d31ce9e
commit
aa415c670e
4 files changed
+77
-5
No files matched your search
@@ -60,3 +60,13 @@ try {
|
||||
catch (e) {
|
||||
assert (e instanceof ReferenceError);
|
||||
}
|
||||
|
||||
function f2 ()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
with ({})
|
||||
{
|
||||
assert (f2 () === this);
|
||||
}
|
||||
Reference in new issue
Block a user