Practice makes perfect 12


#1


https://www.codecademy.com/en/courses/javascript-beginner-en-9Sgpi/2/4?curriculum_id=506324b3a7dffd00020bf661


It says I did it right, but it's only printing 2016.


var object1 = new Object();
var object2 = new Object();
var object3 = new Object();

object1.day = 23;
object2.month= 'september';
object3.year= 2016;


#2

the codecademy console logs the last value, if you want to log more you should log console.log() to log things to the console manual


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.