summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/String/prototype/S15.5.4_A2.js
blob: 3369b4ecf3b4740dd5db41ccaff0a6045eb94310 (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 prototype object is itself a String object whose value is an empty string
es5id: 15.5.4_A2
description: Checking String.prototype
---*/

//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (String.prototype != "") {
  throw new Test262Error('#1: String.prototype =="". Actual: String.prototype ==' + String.prototype);
}
//
//////////////////////////////////////////////////////////////////////////////

reportCompare(0, 0);