Closed HoraceGonzalez closed 12 years ago
Lamda expressions don't seem to return a value.
Eg) a => a + 1
compiles to
function(a) { a + 1; }
instead of
function(a) { return a + 1; }
Updated the compiler to generate return statements for these cases.
Lamda expressions don't seem to return a value.
Eg) a => a + 1
compiles to
function(a) { a + 1; }
instead of
function(a) { return a + 1; }