Aug 29, 2017 · 1 min read
Good job, Sophie! 1 thing to watch out for: when you defined createdOn property, you set it equal to the string ‘Aug23'. This means that all cup instances you instantiate will have the value 'Aug23’ associated to property createdOn. The exercise, however, was to set our property createdOn equal to the exact moment in time we instantiate our cup, so we use Date.now() function. This gives us the exact timestamp our instance was instantiate on.
