For this Question: You are given two objects of two persons <code>rohanInfo</code> of Rohan and <code>gauriInfo</code> of Gauri which have property <code>height</code> and <code>weight</code> . Now using the concept of Object destructuring , destructure their properties of <code>height</code> and <code>weight</code> into the mentioned variables and then use those variable to write code which return the array  that contains two values , maximum height and maximum weight among the two objects.Function will take two arguments, both of them are objects of two different person,both of them contains two properties which are <code>height</code> and <code>weight</code>

function returns an array having two numbers, maximum <code>height</code> and maximum <code>weight</code> from the given objects in that order.const mohan={height:180, weight:60};
const radha={height:100, weight:120};

const answer = calculateMax(mohan, radha) // returns an array of two numbers

console.log(answer) // prints [ 180, 120 ]


const rahul={height:10, weight:20};
const ritika={height:30, weight:40};

const answer = calculateMax(rahul, ritika) // returns an array of two numbers

console.log(answer) // prints [ 30, 40 ], I have written this Solution Code: function calculateMax(rohanInfo,gauriInfo) {

  const{height:rohanHeight,weight:rohanweight}=rohanInfo;
  const{height:gauriHeight,weight:gauriweight}=gauriInfo;
return [Math.max(rohanHeight,gauriHeight),Math.max(rohanweight,gauriweight)];
  }, In this Programming Language: JavaScript, Now tell me if this Code is compilable or not?