Source code

Revision control

Copy as Markdown

Other Tools

// return exits the innermost enclosing arrow (not an enclosing function)
function f() {
var g = x => { return !x; };
return "f:" + g(true);
}
assertEq(f(), "f:false");