function stealthCheck(){
assert( stealth(), "We'll never get below the return, but that's OK!" );
return stealth();
function stealth(){ return true; }
}
stealthCheck();
// PASS We'll never get below the return, but that's OK!
advanced javascript
Can functions be defined below return statements
最新推荐文章于 2024-07-12 22:54:26 发布