ads

Thursday, 25 February 2016

object in javascript

javascript

"object":-  are written with { }.object properties are written as name. in a real life, car is a object & weight, color,models is properties.
syntax:- var car={type:" ",model:" ",color:" "};

input:-
output:-

No comments:

Post a Comment