2 points · by based2 · 7y ago · 1 comment
A compact syntax for achieving this is the "do expression":
https://github.com/tc39/proposal-do-expressions
Javascript pattern that changed everything (for me...)
Foreword Hello there good people of Dev.to & welcome to my first Dev.to post! I've bee...
DEV Community