12. Give me the answer please


#1



Replace this line with your code.


#2

HI you should post your code?and the error you get..


#3

var bicycle = new Object();
bicycle.speed[0];
bicycle.gear[1];
bicycle.frame_material("carbon fiber")

TypeError: Unable to get property


#4

var bicycle = new Object();
bicycle.speed[0];
bicycle.gear[1];
bicycle.frame_material("carbon fiber")

TypeError: Unable to get property '0'


#5

you have two way to give the object some propriety

1

bicycle.speed = 0;

its give the object bicyle the propriety speed with the value 0

2

bicycle["speed"] = 0;