blob: 64040172b32f1cf6a2c2769cddacec0549a617a1 [file] [log] [blame]
let OtherArray = $vm.createGlobalObject().Array;
if ($vm.isHavingABadTime(OtherArray))
throw new Error();
$vm.haveABadTime(OtherArray);
if (!$vm.isHavingABadTime(OtherArray))
throw new Error();
if ($vm.isHavingABadTime(globalThis))
throw new Error();
$vm.haveABadTime([]);
if (!$vm.isHavingABadTime(globalThis))
throw new Error();