3 ms·
If names are the source of crisis, wouldn’t it be better to define temporary variables without names? var [$1, $2] = foo(bar(envars)) console.log(chalk.bol
by wruza 4y ago
If names are the source of crisis, wouldn’t it be better to define temporary variables without names?
var [$1, $2] = foo(bar(envars))
console.log(chalk.bold($2), $1)
Job done, no plumbing needed. Has the same level of semantics as %.