summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/prototype/toLocaleString/S15.2.4.3_A6.js
blob: 8f316e0dd459cc1a0953f19732f7b289850be569 (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: Object.prototype.toLocaleString has not prototype property
es5id: 15.2.4.3_A6
description: >
    Checking if obtaining the prototype property of
    Object.prototype.toLocaleString fails
---*/
assert.sameValue(
  Object.prototype.toLocaleString.prototype,
  undefined,
  'The value of Object.prototype.toLocaleString.prototype is expected to equal undefined'
);

reportCompare(0, 0);