1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
6 The value of the internal [[Prototype]] property of
7 the Array constructor is the Function prototype object
10 Create new property of Function.prototype. When Array constructor
14 Function.prototype.myproperty = 1;
16 assert.sameValue(Array.myproperty, 1, 'The value of Array.myproperty is expected to be 1');
17 assert.sameValue(Array.hasOwnProperty('myproperty'), false, 'Array.hasOwnProperty("myproperty") must return false');