News for hackers. Stuff that matters.
Re:Pipe Operator (|>) For JavaScript by wruza on Friday January 20, 2023 @06:52PM (#34461953)
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 %.

There are no comments on this comment yet.