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

/*---
info: The String has property prototype
es5id: 15.5.3.1_A1
description: Checking String.hasOwnProperty('prototype')
---*/

//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (!(String.hasOwnProperty('prototype'))) {
  throw new Test262Error('#1: String.hasOwnProperty(\'prototype\') return true. Actual: ' + String.hasOwnProperty('prototype'));
}
//
//////////////////////////////////////////////////////////////////////////////

reportCompare(0, 0);