Challenge: Destructure Undefined
This challenge will require you to destructure "undefined" in JavaScript.
We'll cover the following...
We'll cover the following...
Problem statement #
The function pointValues takes the parameter point, which is an object with a name and age property.
var point = {name: "jerry", age: 2}
The function extracts and displays the values of name and age ...