testRebranding.js (205B)
1 q = ""; 2 function g() { q += "g"; } 3 function h() { q += "h"; } 4 a = [g, g, g, g, h]; 5 for (i=0; i<5; i++) { f = a[i]; f(); } 6 7 function testRebranding() { 8 return q; 9 } 10 assertEq(testRebranding(), "ggggh");
tor-browserThe Tor Browser | |
| git clone https://git.dasho.dev/tor-browser.git | |
| Log | Files | Refs | README | LICENSE |