Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js object keys

var myObj = {no:'u',my:'sql'}
var keys = Object.keys(myObj);//returnes the array ['no','my'];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #object #keys
ADD COMMENT
Topic
Name
1+9 =