mirror of https://github.com/tc39/test262.git
Function.prototype.toString works on anonymous well-known intrinsics
This commit is contained in:
parent
7d5a5fef36
commit
f3b8aff71f
|
@ -0,0 +1,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);
|
Loading…
Reference in New Issue