I have a replacement for class User .... as a factor function below:
class User ....
const user = (name, age) => { return { name: name, age: a