diff options
Diffstat (limited to 'test/built-ins/Function/prototype/toString/symbol-named-builtins.js')
-rw-r--r-- | test/built-ins/Function/prototype/toString/symbol-named-builtins.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/built-ins/Function/prototype/toString/symbol-named-builtins.js b/test/built-ins/Function/prototype/toString/symbol-named-builtins.js new file mode 100644 index 000000000..c1666cdc5 --- /dev/null +++ b/test/built-ins/Function/prototype/toString/symbol-named-builtins.js @@ -0,0 +1,11 @@ +// 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); |