summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/hasOwn/prototype.js
blob: 1eb3676ddc0ba9cf4d4e1607f814906cf1322666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2021 Jamie Kyle.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-object.hasown
info: Object.hasOwn has not prototype property
description: >
    Checking if obtaining the prototype property of Object.hasOwn fails
author: Jamie Kyle
features: [Object.hasOwn]
---*/

assert.sameValue(Object.hasOwn.prototype, undefined);

reportCompare(0, 0);