[–] jepler 9y ago ↗ Python has it: 'del'C++11 has it, as long as your intermediate thing is not a parameter: auto real_var = []() { complicated lambda; return calculated_value; }();I'm sure someone will figure out how to polyfill it into javascript ;-)
1 comment
[ 3.8 ms ] story [ 16.0 ms ] threadC++11 has it, as long as your intermediate thing is not a parameter: auto real_var = []() { complicated lambda; return calculated_value; }();
I'm sure someone will figure out how to polyfill it into javascript ;-)