summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug584565.js
blob: ad7d4b47577f8f37f5e75d048c6bdcc1cc3595be (plain)
1
2
3
4
5
6
7
8
9
10
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/
// Contributor: Luke Wagner <lw@mozilla.com>

var x, f;
for (var i = 0; i < 100; i++) {
    f = function() {};
    f.foo;
    x = f.length;
}