summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/js/script-tests/array-float-delete.js
blob: 5ecf69752c74ce2189114b3d646a90c8bbc3b807 (plain)
1
2
3
4
5
6
7
8
9
description(
'This test checks for regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=6234">6234: Can delete array index property incorrectly.</a>'
);

var a = new Array();  
a[1]     = "before";  
a['1.0'] = "after";  
delete a['1.0'];  
shouldBe("a[1]", '"before"');