Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to make an object in javascript

let myDog = {		
  legs: value			

}
  console.log(myDog);
/*Doesn't have to be a Dog it can be anyting you want*/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #object #javascript
ADD COMMENT
Topic
Name
2+1 =