summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Function/prototype/toString/symbol-named-builtins.js
blob: f9c94757b5954bf2381a51d369e0502665b3576c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2018 Michael Ficarra. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-function.prototype.tostring
description: Function.prototype.toString on symbol-named built-ins
includes: [nativeFunctionMatcher.js]
---*/

assertNativeFunction(RegExp.prototype[Symbol.match]);
assertNativeFunction(Object.getOwnPropertyDescriptor(RegExp, Symbol.species).get);

reportCompare(0, 0);