summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Function/prototype/toString/S15.3.4.2_A6.js
blob: 8a6acb5b58818801f871f3b7eeb42627b2efc84a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: Function.prototype.toString has not prototype property
es5id: 15.3.4.2_A6
description: >
    Checking if obtaining the prototype property of
    Function.prototype.toString fails
---*/
assert.sameValue(
  Function.prototype.toString.prototype,
  undefined,
  'The value of Function.prototype.toString.prototype is expected to equal undefined'
);

reportCompare(0, 0);