aboutsummaryrefslogtreecommitdiffstats
path: root/test/built-ins/Function/prototype/toString/anonymous-intrinsics.js
blob: 6c6783e3398f95138a999de60910bc63bc142d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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 anonymous well-known intrinsic function objects
includes: [nativeFunctionMatcher.js]
---*/

var ThrowTypeError = (function() { "use strict"; return Object.getOwnPropertyDescriptor(arguments, "callee").get })()
assert.sameValue(ThrowTypeError.name, "");
assertNativeFunction(ThrowTypeError);