summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Array/getter-name.js
blob: 3829c729bad5ecd39792dde16843df74dda28d04 (plain)
1
2
3
4
5
6
7
8
9
var BUGNUMBER = 1180290;
var summary = 'Array getters should have get prefix';

print(BUGNUMBER + ": " + summary);

assertEq(Object.getOwnPropertyDescriptor(Array, Symbol.species).get.name, "get [Symbol.species]");

if (typeof reportCompare === 'function')
  reportCompare(true, true);