I want to return errors in Javascript, and not throw them. This is the pure functional way. However, Javascript is not a pure functional programming language. Even if I anticipate some errors, run-time errors might creep in. Take this example.
let person = args = ({ name: args.name })