32 lines
631 B
JavaScript
Executable File
32 lines
631 B
JavaScript
Executable File
"use strict";
|
|
|
|
(function f(n) {
|
|
var _arguments = arguments,
|
|
_this = this,
|
|
_shouldContinue,
|
|
_result;
|
|
var _callee = function (n) {
|
|
var _left;
|
|
if (n <= 0) {
|
|
return "foo";
|
|
} else {
|
|
doSmth();
|
|
|
|
if (!(_left = getTrueValue())) {
|
|
return _left;
|
|
}
|
|
if (_left = getFalseValue()) {
|
|
return _left;
|
|
}
|
|
_arguments = [n - 1];
|
|
_this = undefined;
|
|
return _shouldContinue = true;
|
|
}
|
|
};
|
|
|
|
do {
|
|
_shouldContinue = false;
|
|
_result = _callee.apply(_this, _arguments);
|
|
} while (_shouldContinue);
|
|
return _result;
|
|
})(1000000, true) === "foo"; |