blob: 1ebe86a82a998d6702f589a4c147279633097857 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
function g(s) {
for (var i = s; ; i--) {
if (s[i] !== ' ')
return;
}
}
function f() {
var s = "foo".match(/(.*)$/)[0];
return g(s);
}
for (var i = 0; i < 10; i++)
f();
|