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 empty array when target has no own properties.
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]
18 assert.compareArray(Reflect.ownKeys({}), []);
24 assert.compareArray(Reflect.ownKeys(o), []);