Suppose I have a function that returns multiple values as following:
const myFunc = (x, y) => { return {xSquared: x*x, ySquared: y*y} }