4 ms·
In dynamic languages you can do this: some_function = function() { if (...) return 1; if (...) return 2; }.log("It's important I log that I'm retur
by alisey 15y ago
In dynamic languages you can do this:
some_function = function() {
if (...) return 1;
if (...) return 2;
}.log("It's important I log that I'm returning");