You can at least in Go do this:
r, err := f()
r := f()
_, err := f()
No, you can not do the second one.
The other two are completely routine and will work just fine with lists in JS or tuples in Python or Rust (barring a few syntactic alterations).
No, you can not do the second one.
The other two are completely routine and will work just fine with lists in JS or tuples in Python or Rust (barring a few syntactic alterations).