summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/collections/Set-clear-6.js
blob: 5c8cfce006655cde5af253329f08310b1feb0248 (plain)
1
2
3
4
5
6
// Clearing a Set doesn't affect expando properties.

var s = new Set();
s.x = 3;
s.clear();
assertEq(s.x, 3);