blob: f32c981a41e19ec019c7499a4eab71431ade81cb [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]]().
---*/
var o = {};
assert.sameValue(Reflect.isExtensible(o), true);
Object.preventExtensions(o);
assert.sameValue(Reflect.isExtensible(o), false);