blob: 0cd82e501b4833d8f1f4163dd6244c49b4c2bf44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 9.5.4
description: >
Return target.[[PreventExtensions]]() if target is undefined.
features: [Reflect]
---*/
var target = {};
var p = new Proxy(target, {});
assert.sameValue(Reflect.preventExtensions(p), true);
|