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 developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #js #object #keys
ADD COMMENT
Topic
Name
7+1 =