blob: 518cef68ccfb3eb82582c0e2c3fe29684b68552c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// |reftest| module
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-module-namespace-exotic-objects-setprototypeof-v
description: >
The [[SetPrototypeOf]] internal method returns `true` if
passed `null`
flags: [module]
---*/
import * as ns from './set-prototype-of-null.js';
assert.sameValue(typeof Object.setPrototypeOf, 'function');
assert.sameValue(ns, Object.setPrototypeOf(ns, null));
reportCompare(0, 0);
|