blob: 5b81416cb2c34cf1a63091bbab7724a5a8a1a54c [file] [log] [blame]
description("Tests that doing to-this conversion in strict mode doesn't cause us to believe that if the input is an object then the output is also an object.");
function thingy() {
"use strict";
function bar() {
return this instanceof Object;
}
function foo() {
return bar();
}
return foo();
}
dfgShouldBe(thingy, "thingy()", "false");