Hacker News new | past | comments | ask | show | jobs | submit login

He said destructuring, not destructing. Like so:

   int a, b;
   (a, b) = function_returning_array();



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: