Objectbeginner// Wrap a value in an Object wrapper
const obj = new Object(42)
typeof obj // β 'object'
obj.valueOf() // β 42Use the Object constructor to explicitly wrap a primitive value in an object.
When called as Object(value) with a primitive, it returns the boxed wrapper object (e.g. a Number object for numbers).
Challenge: Implement wrapValue(val) that uses Object(val) to wrap a primitive and returns the result.
typeof Object(42) // β 'object'
typeof Object('hi') // β 'object'