summaryrefslogtreecommitdiff
path: root/test/built-ins/Proxy/function-prototype.js
blob: e501f9160e626f0c998d9da20dc1a31be832fae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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.2.2
description: >
    The value of the [[Prototype]] internal slot of the Proxy
    constructor is the intrinsic object %FunctionPrototype% (19.2.3).
---*/

assert.sameValue(
    Object.getPrototypeOf(Proxy),
    Function.prototype,
    "`Object.getPrototypeOf(Proxy)` returns `Function.prototype`"
);