Debian Codegraph @

js/src/tests/non262/regress/regress-614714.js

raw
1 // Any copyright is dedicated to the Public Domain.
2 // http://creativecommons.org/licenses/publicdomain/
3
4 // SKIP test262 export
5 // Not interesting and triggers export bug.
6
7 function f(reportCompare) {
8 if (typeof clear === 'function')
9 clear(this);
10 return f;
11 }
12
13 // This must be called before clear().
14 reportCompare(0, 0, 'ok');
15 f(); // don't assert