blob: 3aec8491aeb2c417ac55b40514b53eae1e4afd36 (
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: 19.4.3.4
description: Behavior when `this` value is a Symbol
info: |
1. Let s be the this value.
2. If Type(s) is Symbol, return s.
features: [Symbol.toPrimitive]
---*/
assert.sameValue(Symbol.toPrimitive[Symbol.toPrimitive](), Symbol.toPrimitive);
reportCompare(0, 0);
|