test262/harness/tco-helper.js

5 lines
234 B
JavaScript

// This defines the number of consecutive recursive function calls that must be
// made in order to prove that stack frames are properly destroyed according to
// ES2015 tail call optimization semantics.
var $MAX_ITERATIONS = 100000;