summaryrefslogtreecommitdiff
path: root/test/built-ins/Number/prototype/S15.7.4_A3.1.js
blob: 102060a357e038484cdddf7097ebe232a6c0706c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: The Number prototype object has the property constructor
es5id: 15.7.4_A3.1
description: The test uses hasOwnProperty() method
---*/

//CHECK#1
if(Number.prototype.hasOwnProperty("constructor") !== true){
  $ERROR('#1: The Number prototype object has the property constructor');
}