Arrays and Objects in JS Q&A


#1

Can someone help me? I'm on lesson 12/17Syntax error is this: SyntaxError: missing } after property list
Here's my code:
var object1 = {
name:"camillita",
age:21,
location:"Earth",
};
var object2 = {
favcolor:"lavendar",
favfruit:"apple",
favword:"kakorrhaphiophobia",
};
var object3 = {
time:02.11,
day:"twosday",
month:"febuary",
year:2016,
};

Thanks!


#2

@camillita,
Use

time:'02.11'

#3

Thank you @leonhard.wettengmx.n. It worked :slightly_smiling: