The Shape of Everything
A website mostly about Mac stuff, written by Gus Mueller
» Acorn
» Retrobatch
» Twitter
» Micro.blog
» Mastodon
» Instagram
» Github
» Maybe Pizza?
» Archives
» Feed
» Micro feed
Multiple Return Values in JavaScript

Luciano Mammino: Emerging JavaScript pattern: multiple return values.

You probably know already that JavaScript does not support multiple return values natively, so this article will actually explore some ways to “simulate” this behavior.

There are some neat ideas in here enabled by features from ES2015 which made no sense to me at the time, which suddenly do now.