summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/Set/getter-name.js
blob: fe049d32a974f57a5bd9b16a7657255dc4587743 (plain)
1
2
3
// Set getters should have get prefix
assertEq(Object.getOwnPropertyDescriptor(Set, Symbol.species).get.name, "get [Symbol.species]");
assertEq(Object.getOwnPropertyDescriptor(Set.prototype, "size").get.name, "get size");