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

var m = new Map();
m.x = 3;
m.clear();
assertEq(m.x, 3);