blob: 4dba4ac3f025e74463cd5c56831f0d73dff83de7 [file] [log] [blame]
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 26.1.10
description: >
Returns the boolean result.
info: |
26.1.10 Reflect.isExtensible (target)
...
2. Return target.[[IsExtensible]]().
features: [Reflect]
---*/
var o = {};
assert.sameValue(Reflect.isExtensible(o), true);
Object.preventExtensions(o);
assert.sameValue(Reflect.isExtensible(o), false);