28 lines
471 B
HTML
28 lines
471 B
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
<html>
|
|
<head>
|
|
<script src="../../resources/js-test-pre.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
description(
|
|
"Tests whether delete works properly across multiple global blocks in the presence of redefined variables."
|
|
);
|
|
|
|
a = 1;
|
|
</script>
|
|
<script>
|
|
var a;
|
|
delete a;
|
|
|
|
function test()
|
|
{
|
|
return this.a ? true : false;
|
|
}
|
|
|
|
shouldBeFalse("test()");
|
|
</script>
|
|
<script src="../../resources/js-test-post.js"></script>
|
|
</body>
|
|
</html>
|