get keys for object js code example
Example 1: js object keys
var myObj = {no:'u',my:'sql'}
var keys = Object.keys(myObj);//returnes the array ['no','my'];
Example 2: how to get keys in an object javascript
Object.keys(whateverYourObjectIsCalled)