mirror of https://github.com/tc39/test262.git
20 lines
615 B
JavaScript
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'));
|
|
}
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|