Question: Define a new object in variable painter that has properties name storing Vincent van Gogh; artworks storing The Starry Night, Irises and The Potato Eaters;
Define a new object in variable painter that has properties "name" storing "Vincent van Gogh"; "artworks" storing "The Starry Night", "Irises" and "The Potato Eaters"; "bornDate" storing "March 30, 1853"; and "diedDate" storing "July 29, 1890".
Program must be in JavaScript
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
