1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
6 Returns target's own property keys only, ignore prototype keys.
8 26.1.11 Reflect.ownKeys ( target )
11 2. Let keys be target.[[OwnPropertyKeys]]().
12 3. ReturnIfAbrupt(keys).
13 4. Return CreateArrayFromList(keys).
14 includes: [compareArray.js]
22 var o = Object.create(proto);
26 assert.compareArray(Reflect.ownKeys(o), ['p1', 'p2', 'p3'], 'return object own keys');