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 Throws a TypeError if target is a Symbol
8 26.1.11 Reflect.ownKeys ( target )
10 1. If Type(target) is not Object, throw a TypeError exception.
12 features: [Reflect, Symbol]
15 assert.throws(TypeError, function() {
16 Reflect.ownKeys(Symbol(1));