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

/*---
info: The Number prototype object has the property toLocaleString
es5id: 15.7.4_A3.3
description: The test uses hasOwnProperty() method
---*/
assert.sameValue(
  Number.prototype.hasOwnProperty("toLocaleString"),
  true,
  'Number.prototype.hasOwnProperty("toLocaleString") must return true'
);

reportCompare(0, 0);