prop-dup-get-get.js (317B)
1 // Copyright (c) 2012 Ecma International. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 es5id: 11.1.5_4-4-d-1 6 description: Object literal - No SyntaxError for duplicate property name (get,get) 7 ---*/ 8 9 void { 10 get foo() {}, 11 get foo() {} 12 }; 13 14 reportCompare(0, 0);