Closed alandipert closed 7 years ago
In Javascript, return; in a function returns undefined
return;
undefined
In eslisp, the built-in return macro requires an argument, so returning without a value requires writing (return undefined)
return
(return undefined)
Thanks for catching that!
I've published 0.7.6 which should fix return to allow zero arguments. (Demo here.)
0.7.6
Thanks for fixing!
In Javascript,
return;
in a function returnsundefined
In eslisp, the built-in
return
macro requires an argument, so returning without a value requires writing(return undefined)