summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-577648-2.js
blob: d9ba9131630e08bc149bf1d7d33b3fc459a51855 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 * Contributor: Jason Orendorff
 */

var o = { f: function() { return o.g(); }, g: function() { return arguments.callee.caller; } };
var c = o.f();
var i = 'f';
var d = o[i]();

reportCompare(true, c === o.f && d === o.f(), "");