DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
creating an object javascript
let obj = { // fields name:"value", num: 123, //methods foo: function(){} }
PREVIOUS
NEXT
Tagged:
#creating
#object
#javascript
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit