DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
add property with value in js
var myObject = { sProp: 'some string value', numProp: 2, bProp: false };
Source by www.dyn-web.com #
PREVIOUS
NEXT
Tagged:
#add
#property
#js
ADD COMMENT
Topic
COMMENT
Name
8+4 =
Submit