mirror of
https://github.com/tc39/test262.git
synced 2025-08-28 05:18:32 +02:00
19 lines
631 B
JavaScript
19 lines
631 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/**
|
|
* The Error.prototype has message property
|
|
*
|
|
* @path ch15/15.11/15.11.4/S15.11.4.3_A1.js
|
|
* @description Checking Error.prototype.message
|
|
*/
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// CHECK#1
|
|
if (!Error.prototype.hasOwnProperty('message')) {
|
|
$ERROR('#1: Error.prototype.hasOwnProperty(\'message\') reurn true. Actual: '+Error.prototype.hasOwnProperty('message'));
|
|
}
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|