test262/test/suite/ch15/15.5/15.5.3/S15.5.3.1_A1.js

20 lines
615 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* The String has property prototype
*
* @path ch15/15.5/15.5.3/S15.5.3.1_A1.js
* @description Checking String.hasOwnProperty('prototype')
*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (!(String.hasOwnProperty('prototype'))) {
$ERROR('#1: String.hasOwnProperty(\'prototype\') return true. Actual: '+String.hasOwnProperty('prototype'));
}
//
//////////////////////////////////////////////////////////////////////////////