1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
3
* Any copyright is dedicated to the Public Domain.
4
* http://creativecommons.org/licenses/publicdomain/
5
* Contributor: Jason Orendorff
8
//-----------------------------------------------------------------------------
9
var BUGNUMBER = 469625;
10
var summary = 'TM: Array prototype and expression closures';
15
//-----------------------------------------------------------------------------
17
//-----------------------------------------------------------------------------
22
printBugNumber(BUGNUMBER);
23
printStatus (summary);
25
expect = 'TypeError: (intermediate value).__proto__ is not a function';
29
Array.prototype.__proto__ = function () 3;
37
print(actual = ex + '');
41
reportCompare(expect, actual, summary);