return-1.js (170B)
1 // return from a block function works when there is no other enclosing function 2 3 var f = a => { 4 if (a) 5 return a + 1; 6 throw "FAIL"; 7 }; 8 9 assertEq(f(1), 2);
tor-browserThe Tor Browser | |
| git clone https://git.dasho.dev/tor-browser.git | |
| Log | Files | Refs | README | LICENSE |